Could you tell me how to create a GUI application using QtCreator?
I would like to use the Qt GUI application project to create Notepad in Qt.
I am troubled that there is no project with that name in the list of new projects.
I think I need to include <QTextEdit>
to create a notepad.
I'm worried that I can't include any projects.
Is there something wrong with the installation?
Or has the current Qtcreator version changed to a different project name?
I look forward to hearing from you.
c++ qt
"If you add ""widgets"" to the variable ""QT"" in the .pro file, you will be able to include <QTextEdit>
."
QT+=core gui
GreaterThan(QT_MAJOR_VERSION,4): QT+=widgets
If you're asking what's missing, you should tell them what you installed first.
For the time being, I was able to select the Qt Widgets Application project with Qt 5.7.1+Qt Creator 4.2.0, and I was able to use QTextEdit
.
© 2024 OneMinuteCode. All rights reserved.