v5 compile error - fixturemanager.cpp COLORFILTERSDIR not declared
Posted: Mon Feb 13, 2023 11:59 am
I have a windows laptop that I've been successfully compiling v4 on; having already worked through the workarounds for issues with the newer Qt (5.15.8 iirc). I tried switching to compiling qmlui (v5), and quickly ran into the error below. Is this a know issue by chance? If not, is there an appveyor file somewhere like this one that might give me a hint as to what I'm doing wrong?
Or, was I supposed to do a 'make clean' before my first v5 make? I tried just running 'qmake CONFIG+=qmlui FORCECONFIG=release' in the directory where I had just successfully compiled v4, and then ran 'make' and got the error below:
g++ -c -fno-keep-inline-dllexport -march=pentium4 -mtune=generic -Wa,-mbig-obj -Werror -Wno-error=attributes -Wno-unused-local-typedefs -O2 -Wall -Wextra -Wextra -fexceptions -mthreads -DUNICODE -D_UNICODE -DWIN32 -DMINGW_HAS_SECURE_API=1 -DQMLUI -DQT_NO_DEBUG -DQT_3DQUICKEXTRAS_LIB -DQT_3DQUICK_LIB -DQT_QUICK_LIB -DQT_SVG_LIB -DQT_MULTIMEDIAWIDGETS_LIB -DQT_PRINTSUPPORT_LIB -DQT_WIDGETS_LIB -DQT_MULTIMEDIA_LIB -DQT_3DEXTRAS_LIB -DQT_3DRENDER_LIB -DQT_3DINPUT_LIB -DQT_3DLOGIC_LIB -DQT_3DCORE_LIB -DQT_GAMEPAD_LIB -DQT_GUI_LIB -DQT_QMLMODELS_LIB -DQT_QML_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -DQT_NEEDS_QMAIN -I. -I../engine/src -I../engine/audio/src -Ivirtualconsole -Ifixtureeditor -Itardis -I../plugins/interfaces -I../../../msys64/mingw32/include/Qt3DQuickExtras -I../../../msys64/mingw32/include/Qt3DQuick -I../../../msys64/mingw32/include/QtQuick -I../../../msys64/mingw32/include/QtSvg -I../../../msys64/mingw32/include/QtMultimediaWidgets -I../../../msys64/mingw32/include/QtPrintSupport -I../../../msys64/mingw32/include/QtWidgets -I../../../msys64/mingw32/include/QtMultimedia -I../../../msys64/mingw32/include/Qt3DExtras -I../../../msys64/mingw32/include/Qt3DRender -I../../../msys64/mingw32/include/Qt3DInput -I../../../msys64/mingw32/include/Qt3DLogic -I../../../msys64/mingw32/include/Qt3DCore -I../../../msys64/mingw32/include/QtGamepad -I../../../msys64/mingw32/include/QtGui -I../../../msys64/mingw32/include/QtQmlModels -I../../../msys64/mingw32/include/QtQml -I../../../msys64/mingw32/include/QtNetwork -I../../../msys64/mingw32/include/QtCore -Irelease -I/include -I../../../msys64/mingw32/share/qt5/mkspecs/win32-g++ -o release/fixturemanager.o fixturemanager.cpp
fixturemanager.cpp: In member function 'QDir FixtureManager::systemColorFiltersDirectory()':
fixturemanager.cpp45: error: 'COLORFILTERSDIR' was not declared in this scope; did you mean 'COLORFILTERS_H'?
1477 | return QLCFile::systemDirectory(QString(COLORFILTERSDIR), QString(KExtColorFilters));
| ^~~~~~~~~~~~~~~
| COLORFILTERS_H
fixturemanager.cpp: In member function 'QDir FixtureManager::userColorFiltersDirectory()':
fixturemanager.cpp43: error: 'USERCOLORFILTERSDIR' was not declared in this scope; did you mean 'COLORFILTERS_H'?
1482 | return QLCFile::userDirectory(QString(USERCOLORFILTERSDIR), QString(COLORFILTERSDIR),
| ^~~~~~~~~~~~~~~~~~~
| COLORFILTERS_H
fixturemanager.cpp73: error: 'COLORFILTERSDIR' was not declared in this scope; did you mean 'COLORFILTERS_H'?
1482 | return QLCFile::userDirectory(QString(USERCOLORFILTERSDIR), QString(COLORFILTERSDIR),
| ^~~~~~~~~~~~~~~
| COLORFILTERS_H
Or, was I supposed to do a 'make clean' before my first v5 make? I tried just running 'qmake CONFIG+=qmlui FORCECONFIG=release' in the directory where I had just successfully compiled v4, and then ran 'make' and got the error below:
g++ -c -fno-keep-inline-dllexport -march=pentium4 -mtune=generic -Wa,-mbig-obj -Werror -Wno-error=attributes -Wno-unused-local-typedefs -O2 -Wall -Wextra -Wextra -fexceptions -mthreads -DUNICODE -D_UNICODE -DWIN32 -DMINGW_HAS_SECURE_API=1 -DQMLUI -DQT_NO_DEBUG -DQT_3DQUICKEXTRAS_LIB -DQT_3DQUICK_LIB -DQT_QUICK_LIB -DQT_SVG_LIB -DQT_MULTIMEDIAWIDGETS_LIB -DQT_PRINTSUPPORT_LIB -DQT_WIDGETS_LIB -DQT_MULTIMEDIA_LIB -DQT_3DEXTRAS_LIB -DQT_3DRENDER_LIB -DQT_3DINPUT_LIB -DQT_3DLOGIC_LIB -DQT_3DCORE_LIB -DQT_GAMEPAD_LIB -DQT_GUI_LIB -DQT_QMLMODELS_LIB -DQT_QML_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -DQT_NEEDS_QMAIN -I. -I../engine/src -I../engine/audio/src -Ivirtualconsole -Ifixtureeditor -Itardis -I../plugins/interfaces -I../../../msys64/mingw32/include/Qt3DQuickExtras -I../../../msys64/mingw32/include/Qt3DQuick -I../../../msys64/mingw32/include/QtQuick -I../../../msys64/mingw32/include/QtSvg -I../../../msys64/mingw32/include/QtMultimediaWidgets -I../../../msys64/mingw32/include/QtPrintSupport -I../../../msys64/mingw32/include/QtWidgets -I../../../msys64/mingw32/include/QtMultimedia -I../../../msys64/mingw32/include/Qt3DExtras -I../../../msys64/mingw32/include/Qt3DRender -I../../../msys64/mingw32/include/Qt3DInput -I../../../msys64/mingw32/include/Qt3DLogic -I../../../msys64/mingw32/include/Qt3DCore -I../../../msys64/mingw32/include/QtGamepad -I../../../msys64/mingw32/include/QtGui -I../../../msys64/mingw32/include/QtQmlModels -I../../../msys64/mingw32/include/QtQml -I../../../msys64/mingw32/include/QtNetwork -I../../../msys64/mingw32/include/QtCore -Irelease -I/include -I../../../msys64/mingw32/share/qt5/mkspecs/win32-g++ -o release/fixturemanager.o fixturemanager.cpp
fixturemanager.cpp: In member function 'QDir FixtureManager::systemColorFiltersDirectory()':
fixturemanager.cpp45: error: 'COLORFILTERSDIR' was not declared in this scope; did you mean 'COLORFILTERS_H'?
1477 | return QLCFile::systemDirectory(QString(COLORFILTERSDIR), QString(KExtColorFilters));
| ^~~~~~~~~~~~~~~
| COLORFILTERS_H
fixturemanager.cpp: In member function 'QDir FixtureManager::userColorFiltersDirectory()':
fixturemanager.cpp43: error: 'USERCOLORFILTERSDIR' was not declared in this scope; did you mean 'COLORFILTERS_H'?
1482 | return QLCFile::userDirectory(QString(USERCOLORFILTERSDIR), QString(COLORFILTERSDIR),
| ^~~~~~~~~~~~~~~~~~~
| COLORFILTERS_H
fixturemanager.cpp73: error: 'COLORFILTERSDIR' was not declared in this scope; did you mean 'COLORFILTERS_H'?
1482 | return QLCFile::userDirectory(QString(USERCOLORFILTERSDIR), QString(COLORFILTERSDIR),
| ^~~~~~~~~~~~~~~
| COLORFILTERS_H