Domanda

Mi chiedevo se ci fosse un modo per utilizzare la libreria Boost in Qt-creatore (la versione IDE di Qt).

Grazie, A.

È stato utile?

Soluzione

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.

Altri suggerimenti

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?

Autorizzato sotto: CC-BY-SA insieme a attribuzione
Non affiliato a StackOverflow
scroll top