Project Home
Project Home
Wiki
Wiki
Discussion Forums
Discussions
Project Information
Project Info
Forum Topic - QtCreator with CMake: No generator found: (5 Items)
   
QtCreator with CMake: No generator found  
Hello,

I am trying to setup Qt Creator to build a Qt application for a QNX device with CMake. I have a Kit defined for my 
target device which works fine for usage within a qmake project. However, for a cmake project when I select to run CMake
 the combobox for choosing a generator remains empty. Does anybody know how I can configure QtCreator to use a correct 
generator for QNX?

Thanks.
Re: QtCreator with CMake: No generator found  
Did you get cmake working on the command line? Is this issue about QtCreator only? Just to pre-warn you :-) cmake can be
 made integrated/used on/with Qt on QNX and in QtCreator with Qt on QNX, but this is not something which works out of 
the box. 
Re: QtCreator with CMake: No generator found  
Yes, I managed to get it working in the command line and also in qt creator if you choose the desktop as a target. Thus 
I can manually copy my executable to the target and it works. It really seems to be only a problem with the QtCreator 
that it prohibits selecting a generator when compiling and deploying to a QNX device. Any ideas?
Re: QtCreator with CMake: No generator found  
That's actually a bug :) So far Qt Creator only provides generators for kits with a "desktop" or "gerenic remote linux" 
device types and we need to extend this to include QNX devices as well (the QNX plugin in Qt Creator was mainly 
supporting qmake based project since using CMake was not a common use case). We'll upsteam a patch for this asap. Thanks
 for the feedback!

P.S:  If you encounter any further issues while developing for QNX in Qt Creator, please file a bug report in https://
bugreports.qt-project.org/browse/QTCREATORBUG/component/19925 for a better view on the progress. Thanks!   
Re: QtCreator with CMake: No generator found  
Hi, 
Just a quick update: the fix is now submitted and the issue should be fixed in the comming 3.1.1 patch version of Qt 
Creator. You can also get a recent snaphot build from: https://download.qt-project.org/snapshots/qtcreator/3.1.1/ that 
contains the fix.   

Please note that the CMake plugin in Qt Creator is not fully functional when deploying and running on remot targets. 
I've updated the wiki page: http://qt-project.org/wiki/Setting-up-Qt-Creator-for-QNX to add instructions when using 
CMake build system.