Good night, dear colleagues!
I have the following problem. I need to install the boost library in Qt creatore. I downloaded the library, installed it in the folder D:\boost_1_54_0 . (I'm trying to do as said here ) Next, in the body of the program in the .pro project, I write the following things.
TEMPLATE = app CONFIG += console CONFIG -= app_bundle CONFIG -= qt SOURCES += main.cpp win32 { INCLUDEPATH += D:/boost_1_54_0 LIBS += -LC:/boost/lib \ -lboost_serialization-mgw46-mt-d-1_54 \ -lboost_filesystem-mgw46-mt-d-1_54 \ -lboost_system-mgw46-mt-d-1_54 } When I try to compile the program code, I get an error
cannot find -lboost_filesystem-mgw46-mt-d-1_54 collect2: ld returned 1 exit status Tell me, please, what am I doing wrong? Or, if possible, skip, please, instructions on how to set a boost on Qt.
Update
Look, I correctly understood that it was necessary in the line
INCLUDEPATH += write where is the folder boost_1_54_0 ? I copied it to D At the same time, QtSDK itself is located in QtSDK Do I need to boost_1_54_0 entire folder boost_1_54_0 to a certain place? I simply, frankly, do not quite understand what needs to be written in the libs. I'm trying to register LD:/boost_1_54_0\lib , but the problem is not solved. Do I need to put any additional distribution?
D:/boost_1_54_0\libor whatever you prescribe there, there must be files with the extension lib or a. - KoVadim