NEW WIDGET APPLICATION UNABLE TO OPEN
-
@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 ? -
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 ?
-
@Biradar said in NEW WIDGET APPLICATION UNABLE TO OPEN:
/qt4project/main.cpp
Is this really the whole path?!
-
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).