Gast
#5562464
Hallo, ich habe ein Problem beim linken von boost unter Linux sobald ich in QT in der .pro -static angebe. Die Boost Lib habe ich so gebaut: ./bootstrap.sh dann ./b2 link=static Angaben unter QT .pro Datei: INCLUDEPATH += boost_1_68_0 LIBS += -L/boost_1_68_0/stage/lib -lboost_system -pthread -static Kompilerfehler: cannot find -lQt5Widgets cannot find -lQt5Gui cannot find -lQt5Core cannot find -lGL collect2: error: Id returned 1 exit status Sobald ich in der .pro das "-static" weglasse funktioniert alles! Hat jemand eine Idee wie man das Problem lösen kann? Scheinbar verursacht das -static, dass QT die eigenen Dinge nicht mehr finden, sehr komisch...?