cant see project files
-
Hi,
I've created a new Qt Widget application. Strangely I can't see the source and header files in the Qt Creator.
Also getting the following error upon building:
Any idea what causing this error?
@viniltc said in cant see project files:
Any idea what causing this error?
there's something wrong with the content of your pro file, obviously.
-
C Christian Ehrlicher moved this topic from General and Desktop on
-
@viniltc said in cant see project files:
Any idea what causing this error?
there's something wrong with the content of your pro file, obviously.
-
@J-Hilk Hi, This is the first time when I created the project. .pro file is autogenerated. Is it an issue related to configuration of Qt Creator?
@viniltc said in cant see project files:
Is it an issue related to configuration of Qt Creator?
no, almost certainly not.
Why don't you show us the content of the pro file ?
-
@viniltc said in cant see project files:
Is it an issue related to configuration of Qt Creator?
no, almost certainly not.
Why don't you show us the content of the pro file ?
@J-Hilk Hi, here is the
.pro
QT += core gui greaterThan(QT_MAJOR_VERSION, 4): QT += widgets CONFIG += c++11 # You can make your code fail to compile if it uses deprecated APIs. # In order to do so, uncomment the following line. #DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0x060000 # disables all the APIs deprecated before Qt 6.0.0 SOURCES += \ main.cpp \ mainwindow.cpp HEADERS += \ mainwindow.h FORMS += \ mainwindow.ui # Default rules for deployment. qnx: target.path = /tmp/$${TARGET}/bin else: unix:!android: target.path = /opt/$${TARGET}/bin !isEmpty(target.path): INSTALLS += target
-
@J-Hilk Hi, here is the
.pro
QT += core gui greaterThan(QT_MAJOR_VERSION, 4): QT += widgets CONFIG += c++11 # You can make your code fail to compile if it uses deprecated APIs. # In order to do so, uncomment the following line. #DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0x060000 # disables all the APIs deprecated before Qt 6.0.0 SOURCES += \ main.cpp \ mainwindow.cpp HEADERS += \ mainwindow.h FORMS += \ mainwindow.ui # Default rules for deployment. qnx: target.path = /tmp/$${TARGET}/bin else: unix:!android: target.path = /opt/$${TARGET}/bin !isEmpty(target.path): INSTALLS += target
@viniltc well, thats unfortunate, because it is totally fine and even loads fine in my QtCreator
looking back at the error, it might also suggest something being wrong with the kit settings
When you check your preferences/option menu in Qt Creator and check the kits list entry.
what is listed and if there's something listet, is it marked with a yellow triangle or red exclamation mark ?
-
@viniltc well, thats unfortunate, because it is totally fine and even loads fine in my QtCreator
looking back at the error, it might also suggest something being wrong with the kit settings
When you check your preferences/option menu in Qt Creator and check the kits list entry.
what is listed and if there's something listet, is it marked with a yellow triangle or red exclamation mark ?