views:

1474

answers:

2

Hi, I was wondering if there was a way to use the boost library in Qt-creator (the IDE version of Qt).

Thanks, A.

+3  A: 

I'm pretty sure Qt Creator doesn't require the use of Qt in your application. If you don't want to link to any Qt libraries, or run MOC on any header files (which you only need to do for subclasses of QObject), then just do "QT -= core gui" (to get rid of qt libraries from the link command. Perhaps "QT = " would work, too), and don't specify any HEADERS.

Good luck, post back if it works.

KeyserSoze
+3  A: 

Boost is not just one library, it's a collection of them. Some are just header files, in those cases you just need to #include them in your source as normal. Which Boost functionality do you require?

20th Century Boy