سؤال

I've tried something like this in my *.pro file:

INCLUDEPATH += "C:\Stuff\boost_1_53_0"

LIBS += -L/C:\Stuff\boost_1_53_0\lib\32-bit -lqtmaind
LIBS += -L/C:\Stuff\boost_1_53_0\lib\32-bit -lQt5PrintSupportd
LIBS += -L/C:\Stuff\boost_1_53_0\lib\32-bit -lQt5Widgetsd
LIBS += -L/C:\Stuff\boost_1_53_0\lib\32-bit -lQt5Guid
LIBS += -L/C:\Stuff\boost_1_53_0\lib\32-bit -lQt5Cored

But I still get some linker errors (like this one):

LNK1104: cannot open file 'libboost_program_options-vc100-mt-gd-1_53.lib'

How does one configure boost paths/libs to get this working?

هل كانت مفيدة؟

المحلول

Ehh, I was so close. And the mistake was stupid. Syntax one, actually:

LIBS += -L"C:\Stuff\boost_1_53_0\lib\32-bit" -lqtmaind
and so on...
مرخصة بموجب: CC-BY-SA مع الإسناد
لا تنتمي إلى StackOverflow
scroll top