简体   繁体   中英

Integrating Qt Framework, Netbeans IDE, Visual Studio C++ Compiler

I'm using Qt 4.7.4 as C++ framework , Netbeans 7.0 as IDE and MinGW as C++ compiler .

These are integrated well due to Netbeans ability and I'm coding my projects with them easily.

I know in Qt Creator, we can switch to Visual Studio as C++ compiler very easy.

But, how can we use Visual Studio as C++ compiler in Netbeans which works with Qt framework?

Is there any Netbeans plugin or some configuration for it (then, Only F6 to run)?

Note: As mentioned in comments (Cat Plus Plus), it's related to QMAKESPEC or -spec . and i'm searching for a solution via Project > Properties > Qt > ...

You might try using qmake -spec win32-msvcXXXX where XXXX is from {2003, 2005, 2008, 2010} and matches your version of Visual Studio.

I would, however, expect that you will have to rebuild Qt for Visual Studio. The MingW libraries will not work with Visual Studio. The answers to How to Build Qt for Visual Studio may help here. [I freely admit to never trying this.]

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM