MAC上安装qsci的designer-Qt4Qt5的make && date步骤,提示'QtUiPlugin/QtUiPlugin' file not found,已经设置了QT环境变量,在终端上输入qmake -v显示
:QMake version 3.1
Using Qt version 5.8.0 in /Users/victory/Soft/Qt5.8.0/5.8/clang_64/lib
装的是这个版本:QScintilla_gpl-2.10.2
具体错误如下:
/Users/victory/Soft/Qt5.8.0/5.8/clang_64/lib/QtDesigner.framework/Headers/QtDesignerDepends:7:10: fatal error:
'QtUiPlugin/QtUiPlugin' file not found
#include <QtUiPlugin/QtUiPlugin>
^~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
make: *** [qscintillaplugin.o] Error 1
我按照路径/Users/victory/Soft/Qt5.8.0/5.8/clang_64/lib/QtDesigner.framework/Headers/QtDesignerDepends:7:10:找到了这个文件,内容是:
/* This file was generated by qmake with the info from <root>/src/designer/src/lib/lib.pro. */ #ifdef __cplusplus /* create empty PCH in C mode */ #include <QtCore/QtCore> #include <QtGui/QtGui> #include <QtWidgets/QtWidgets> #include <QtXml/QtXml> #include <QtUiPlugin/QtUiPlugin> #endif
|