Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Installation and Deployment
  4. Qt & Boost not going along
Forum Update on Monday, May 27th 2025

Qt & Boost not going along

Scheduled Pinned Locked Moved Unsolved Installation and Deployment
boost
1 Posts 1 Posters 593 Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • R Offline
    R Offline
    RaJiska
    wrote on 23 Dec 2015, 15:35 last edited by
    #1

    Hello' People,

    I've been trying to run Boost with Qt & Mingw but could not get them both along.
    After linking the library (using filesystem), I get the following errors:

    cannot find -lboost_system
    cannot find -llboost_filesystem
    error: ld returned 1 exit status
    

    In my .pro file I've linked Boost as follow:

    INCLUDEPATH += N:/Libraries/boost_1_60_0
    
    LIBS += -L"N:/Libraries/boost_1_60_0/stage/lib"
    LIBS += "N:/Libraries/boost_1_60_0/stage/lib/libboost_filesystem-mgw47-mt-1_60.a"
    LIBS += "N:/Libraries/boost_1_60_0/stage/lib/libboost_system-mgw47-mt-1_60.a"
    
    LIBS += -lboost_system -lboost_filesystem
    

    To that, I made sure Qt & Boost compiled under the same MinGW compiler version (both using CodeBlocks').

    Is there something I did not do properly ?

    Thanks !

    1 Reply Last reply
    0

    1/1

    23 Dec 2015, 15:35

    • Login

    • Login or register to search.
    1 out of 1
    • First post
      1/1
      Last post
    0
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Get Qt Extensions
    • Unsolved