Question

Je me demandais s'il y avait un moyen d'utiliser la bibliothèque Boost en Qt Creator (la version IDE de Qt).

Merci, A.

Était-ce utile?

La solution

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.

Autres conseils

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?

Licencié sous: CC-BY-SA avec attribution
Non affilié à StackOverflow
scroll top