qapplication not found
-
Hi and welcome to devnet,
In addition to @JonB: do you have any build failure ?
if not, then, it looks like it might be a code model issue, which, while annoying, does not preclude you from writing and building your application.
-
-
@kdrpro1 said in qapplication not found:
Only built the app once
Not sure what this means.
But if your app builds then those errors come from the code model like @SGaist suggested. -
on my Qt6.7.2 I was having the same problem. My user name folder had a space in the name "HP Box 27" and I created a new user without a space in it, and ran a new project from there. It gave me QCoreApplication as the main library, and I was able to include <QtWidgets/QPushbutton> after that. I was able to include <QTWidgets/QApplication> as well and the project build and ran. I am going to run with this for now. This is what my Cmake file looks like for now, I am still able to build and run the program.
-
Please report the issue at https://bugreports.qt.io/secure/CreateIssue.jspa?pid=10512
Both paths with spaces and Chinese characters should not pose any problems.