Details
-
Bug
-
Resolution: Incomplete
-
Not Evaluated
-
None
-
Qt Creator 11.0.1
-
None
-
Edition Windows 10 Home Single Language
Version 22H2
Installed 21/01/2021
SO Compilation 19045.3570
Experience Windows Feature Experience Pack 1000.19052.1000.0
Description
I have a simple application with a main window and a QPlainTextEdit as main central widget on windows 10. When I try to compile I can't get through and this error is shown:
C:\Qt\5.12.0\mingw73_64\include\QtWidgets\qtextedit.h:315: error: 'QTextEdit' does not name a type; did you mean 'QTextList'?
In file included from C:\Qt\5.12.0\mingw73_64\include/QtGui/qtguiglobal.h:43:0,
from C:\Qt\5.12.0\mingw73_64\include/QtWidgets/qtwidgetsglobal.h:43,
from C:\Qt\5.12.0\mingw73_64\include\QtWidgets/qmainwindow.h:43,
from C:\Qt\5.12.0\mingw73_64\include\QtWidgets/QMainWindow:1,
from ..\Test_edit\mainwindow.h:4,
from ..\Test_edit\mainwindow.cpp:1:
C:\Qt\5.12.0\mingw73_64\include/QtWidgets/qtextedit.h:315:20: error: 'QTextEdit' does not name a type; did you mean 'QTextList'?
Q_DISABLE_COPY(QTextEdit)
^
C:\Qt\5.12.0\mingw73_64\include/QtCore/qglobal.h:372:17: note: in definition of macro 'Q_DISABLE_COPY'
Class(const Class &) Q_DECL_EQ_DELETE;\
^~~~~
I got this problem with a complex application with QLabel and QPlainTextEdit included, so I tried to find a solution and build a simple app to figure out what was the problem.