Closed willemw12 closed 8 years ago
Recently, compliation on Arch Linux fails:
g++ -c -pipe -O2 -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong --param=ssp-buffer-size=4 -Wall -W -D_REENTRANT -fPIC - DQT_NO_DEBUG -DQT_PRINTSUPPORT_LIB -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_XML_LIB -DQT_CORE_LIB -I. -I. -isystem /usr/include/qt -isystem /u sr/include/qt/QtPrintSupport -isystem /usr/include/qt/QtWidgets -isystem /usr/include/qt/QtGui -isystem /usr/include/qt/QtXml -isystem / usr/include/qt/QtCore -I. -I/usr/lib/qt/mkspecs/linux-g++ -o colorChooserProcessModes.o colorChooserProcessModes.cpp In file included from colorChooserProcessModes.cpp:20:0: colorChooserProcessModes.h: In member function ‘virtual processChange numColorsBaseModes::makeProcessChange() const’: colorChooserProcessModes.h:210:44: error: ‘QObject’ was not declared in this scope return processChange(true, true, true, QObject::tr("Clicked colors"), ^
Compliation succeeds when adding #include <QtCore/QObject> to colorChooserProcessModes.h:
#include <QtCore/QObject>
colorChooserProcessModes.h
#ifndef COLORCHOOSERPROCESSMODES_H #define COLORCHOOSERPROCESSMODES_H #include <QtCore/QObject> #include <QtCore/QSharedData> #include <QtCore/QVector>
Package 'qt5-base' version 5.5.0 is installed.
Thanks for the update Willem. I'm not at 5.5 yet so I don't know if there will be other issues...if there are let me know and I'll install 5.5.
Recently, compliation on Arch Linux fails:
Compliation succeeds when adding
#include <QtCore/QObject>
tocolorChooserProcessModes.h
:Package 'qt5-base' version 5.5.0 is installed.