NEW WIDGET APPLICATION UNABLE TO OPEN
-
wrote on 7 Jun 2018, 03:22 last edited by
I am new to QT, Installed the QT creator 3.0.1 and QT 5.21, when i open new widget application it showing unable to open even all version everything changed. it is going to 4.0 showing unable to open main
-
I am new to QT, Installed the QT creator 3.0.1 and QT 5.21, when i open new widget application it showing unable to open even all version everything changed. it is going to 4.0 showing unable to open main
@Biradar On which OS are you? Why do you use such an old Qt and QtCreator version?
What do you mean by "open"? Are you building that widget application in QtCreator and try to start it from there? Or do you start the application from outside of QtCreator? -
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
1/13