NEW WIDGET APPLICATION UNABLE TO OPEN
-
Are you able to open the QtCreator ?
Are you able to create the project ?
Are you able to build the project ?
Is build successful ? -
wrote on 7 Jun 2018, 05:04 last edited by
I am using linux RHEL 7.2, i am able to open qt creator and when creating new widget app, throwing error unable to open /qt4project/main.cpp. unable build and unable to create new application. I am creating new project from qt creator... Basically i am not able to create project.
-
looks like you old Qt in the path. Just check what settings you have under Qt Creator. Open the QtCreator ->Tools->options->Build-Run-Kits.
Can you check which kits are available ? Does it show any "ReD" mark for any of the kits ?
-
I am using linux RHEL 7.2, i am able to open qt creator and when creating new widget app, throwing error unable to open /qt4project/main.cpp. unable build and unable to create new application. I am creating new project from qt creator... Basically i am not able to create project.
@Biradar said in NEW WIDGET APPLICATION UNABLE TO OPEN:
/qt4project/main.cpp
Is this really the whole path?!
-
wrote on 7 Jun 2018, 10:38 last edited by Biradar 6 Jul 2018, 10:40
Kits it showing Auto detect and in manual showing unnamed default under this device type qt version ...etc showing except qt-mkspec is empty. full ERROR IS "cannot open /usr/share/qtcreator/templetes/qt4project/main.cpp." version showing manual Qt 5.2.1 (Qt-5.2.1) /usr/local/ Qt 5.2.1/bin/qmake. there's no red mark any kit, only one kit is there manual unnamed.
-
Kits it showing Auto detect and in manual showing unnamed default under this device type qt version ...etc showing except qt-mkspec is empty. full ERROR IS "cannot open /usr/share/qtcreator/templetes/qt4project/main.cpp." version showing manual Qt 5.2.1 (Qt-5.2.1) /usr/local/ Qt 5.2.1/bin/qmake. there's no red mark any kit, only one kit is there manual unnamed.
@Biradar said in NEW WIDGET APPLICATION UNABLE TO OPEN:
/usr/share/qtcreator/templetes/qt4project/main.cpp
What is in /usr/share/qtcreator/templetes ?
It looks like either QtCreator installation is broken or not complete (project templates are missing). -
wrote on 8 Jun 2018, 05:02 last edited by Biradar 6 Aug 2018, 05:12
shall i reinstall qt-creator, how do i remove existing one ....
-
@Biradar How did you install QtCreator? Did you install RPM package which RHEL provides? If so then use rpm to remove/install. Also you should check whether RHEL splits QtCreator into several packages.
-
wrote on 8 Jun 2018, 05:12 last edited by
It is not RHEL provided and I have licensed qt creator 3.01 downloaded from qt website and installed that zip file unziped and installed ...
-
It is not RHEL provided and I have licensed qt creator 3.01 downloaded from qt website and installed that zip file unziped and installed ...
@Biradar This is a quite old QtCreator version.
You should use the Qt Online Installer to download and install Qt and QtCreator. -
wrote on 8 Jun 2018, 09:26 last edited by
Than k u all for the support it is resolved after re installation
12/13