This is my old system where my program compiles just fine:
qt5-base 5.4.1-2
qt5-declarative 5.4.1-2
qt5-doc 5.4.1-2
qt5-graphicaleffects 5.5.0-2
qt5-location 5.4.1-2
qt5-quick1 5.4.1-2
qt5-quickcontrols 5.4.1-2
qt5-script 5.4.1-2
qt5-sensors 5.4.1-2
qt5-svg 5.4.1-2
qt5-tools 5.4.1-2
qt5-translations 5.4.1-2
qt5-webchannel 5.4.1-2
qt5-webkit 5.4.1-2
qt5-xmlpatterns 5.4.1-2
qtchooser 48-1
qtcreator 3.3.2-1
qt5-base 5.4.1-2
qt5-declarative 5.4.1-2
qt5-doc 5.4.1-2
qt5-graphicaleffects 5.5.0-2
qt5-location 5.4.1-2
qt5-quick1 5.4.1-2
qt5-quickcontrols 5.4.1-2
qt5-script 5.4.1-2
qt5-sensors 5.4.1-2
qt5-svg 5.4.1-2
qt5-tools 5.4.1-2
qt5-translations 5.4.1-2
qt5-webchannel 5.4.1-2
qt5-webkit 5.4.1-2
qt5-xmlpatterns 5.4.1-2
qtchooser 48-1
qtcreator 3.3.2-1
To copy to clipboard, switch view to plain text mode
After the update:
qt5-base 5.5.0-2
qt5-declarative 5.5.0-2
qt5-doc 5.5.0-2
qt5-graphicaleffects 5.5.0-2
qt5-location 5.5.0-2
qt5-quick1 5.5.0-2
qt5-quickcontrols 5.5.0-2
qt5-script 5.5.0-2
qt5-sensors 5.5.0-2
qt5-svg 5.5.0-2
qt5-tools 5.5.0-2
qt5-translations 5.5.0-2
qt5-webchannel 5.5.0-2
qt5-webkit 5.5.0-2
qt5-xmlpatterns 5.5.0-2
qtchooser 48-1
qtcreator 3.5.0-1
qt5-base 5.5.0-2
qt5-declarative 5.5.0-2
qt5-doc 5.5.0-2
qt5-graphicaleffects 5.5.0-2
qt5-location 5.5.0-2
qt5-quick1 5.5.0-2
qt5-quickcontrols 5.5.0-2
qt5-script 5.5.0-2
qt5-sensors 5.5.0-2
qt5-svg 5.5.0-2
qt5-tools 5.5.0-2
qt5-translations 5.5.0-2
qt5-webchannel 5.5.0-2
qt5-webkit 5.5.0-2
qt5-xmlpatterns 5.5.0-2
qtchooser 48-1
qtcreator 3.5.0-1
To copy to clipboard, switch view to plain text mode
This is the error I get:
17:23:23: Running steps for project graphit...
17:23:23: Configuration unchanged, skipping qmake step.
17:23:23: Starting: "/usr/bin/make"
g++ -c -pipe -std=c++11 -O2 -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong --param=ssp-buffer-size=4 -std=c++0x -Wall -W -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_QUICK_LIB -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_QML_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -I. -Iinclude -Iinclude/knowdesk -Ilibs -Ilibs -Ipodofo/include -Iexif/include -Iexif/include -isystem /usr/include/qt -isystem /usr/include/qt/QtQuick -isystem /usr/include/qt/QtWidgets -isystem /usr/include/qt/QtGui -isystem /usr/include/qt/QtQml -isystem /usr/include/qt/QtNetwork -isystem /usr/include/qt/QtCore -Ibuild -I/usr/lib/qt/mkspecs/linux-g++ -o build/controller.o src/controller.cpp
In file included from /usr/include/qt/QtCore/qglobal.h:74:0,
from /usr/include/qt/QtCore/qnamespace.h:37,
from /usr/include/qt/QtCore/qobjectdefs.h:41,
from /usr/include/qt/QtCore/qobject.h:40,
from
/usr
/include
/qt
/QtCore
/QObject:1,
from src/controller.cpp:2:
/usr/include/qt/QtCore/qurl.h:365:1: error: initializer provided for function
^
Makefile:975: recipe for target 'build/controller.o' failed
make: *** [build/controller.o] Error 1
17:23:26: The process "/usr/bin/make" exited with code 2.
Error while building/deploying project graphit (kit: Desktop)
When executing step "Make"
17:23:26: Elapsed time: 00:03.
17:23:23: Running steps for project graphit...
17:23:23: Configuration unchanged, skipping qmake step.
17:23:23: Starting: "/usr/bin/make"
g++ -c -pipe -std=c++11 -O2 -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong --param=ssp-buffer-size=4 -std=c++0x -Wall -W -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_QUICK_LIB -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_QML_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -I. -Iinclude -Iinclude/knowdesk -Ilibs -Ilibs -Ipodofo/include -Iexif/include -Iexif/include -isystem /usr/include/qt -isystem /usr/include/qt/QtQuick -isystem /usr/include/qt/QtWidgets -isystem /usr/include/qt/QtGui -isystem /usr/include/qt/QtQml -isystem /usr/include/qt/QtNetwork -isystem /usr/include/qt/QtCore -Ibuild -I/usr/lib/qt/mkspecs/linux-g++ -o build/controller.o src/controller.cpp
In file included from /usr/include/qt/QtCore/qglobal.h:74:0,
from /usr/include/qt/QtCore/qnamespace.h:37,
from /usr/include/qt/QtCore/qobjectdefs.h:41,
from /usr/include/qt/QtCore/qobject.h:40,
from /usr/include/qt/QtCore/QObject:1,
from src/controller.cpp:2:
/usr/include/qt/QtCore/qurl.h:365:1: error: initializer provided for function
Q_DECLARE_SHARED(QUrl)
^
Makefile:975: recipe for target 'build/controller.o' failed
make: *** [build/controller.o] Error 1
17:23:26: The process "/usr/bin/make" exited with code 2.
Error while building/deploying project graphit (kit: Desktop)
When executing step "Make"
17:23:26: Elapsed time: 00:03.
To copy to clipboard, switch view to plain text mode
It seems like it fails compiling as soon as I include anything Q* in a .cpp file. Even if I remove the statements from src/controller.cpp, a similar error gets thrown in the next file where I include Q*. In it's always "initializer provided for function". A new project compiles fine and I can't pinpoint anything that causes the error in my project. Does anyone have an idea what causes the problem? I'm pretty desperate at this point, any help will be appreciated. I can also upload the source files if the error is too ambiguous.
Bookmarks