[Qt-creator] Unable to configure plain C++ project in Qt Creator without Qt installed

Frédéric Marchal frederic.marchal at wowtechnology.com
Thu Feb 14 13:06:11 CET 2013


On Thursday 14 February 2013, Alfonso Chartier wrote:
> Hi,
> 
> I'm currently experimenting with using Qt Creator as the IDE for
> development of some of our legacy non-Qt code. I have been able to
> customize the build process so that qmake is not used and the correct
> compiler is invoked, which is great.
> 
> I'm now at the point where I'd like to get other developers on board. I
> want to avoid having developers install Qt, as it is a dependency they will
> not be using for our legacy code. I tried uninstalling all versions of Qt
> on PC, however it now does not let me configure the project because it
> complains that a valid kit could not be found. The kit I have defined is
> perfectly valid except that "None" shows up for the Qt version, as
> expected.
> 
> My question is: is there a way I can configure a kit such that it doesn't
> depend on Qt? If this is currently not possible, is this something that
> could be implemented in a future version of Qt Creator? I love Qt Creator
> and it's a fantastic IDE, I just think removing the Qt dependency would
> make it an IDE that is much easier to adopt for non-Qt-based development.

I did that yesterday. I installed Qt Creator on a brand new computer without 
installing Qt.

I had to install MinGW (mingw-get install mingw32-gcc-bin mingw32-make-bin) 
and configure that compiler in the "Build & Run" tab.

Then I created a kit with no Qt versions.

I had to create a Makefile to build the project but it works just fine.

I don't have a step by step procedure as I had to poke around before it 
started working. If you need more information, let me know and I'll look them 
up the next time the computer is powered up.

Frederic



More information about the Qt-creator mailing list