This is my old system where my program compiles just fine:
Qt Code:
  1. qt5-base 5.4.1-2
  2. qt5-declarative 5.4.1-2
  3. qt5-doc 5.4.1-2
  4. qt5-graphicaleffects 5.5.0-2
  5. qt5-location 5.4.1-2
  6. qt5-quick1 5.4.1-2
  7. qt5-quickcontrols 5.4.1-2
  8. qt5-script 5.4.1-2
  9. qt5-sensors 5.4.1-2
  10. qt5-svg 5.4.1-2
  11. qt5-tools 5.4.1-2
  12. qt5-translations 5.4.1-2
  13. qt5-webchannel 5.4.1-2
  14. qt5-webkit 5.4.1-2
  15. qt5-xmlpatterns 5.4.1-2
  16. qtchooser 48-1
  17. qtcreator 3.3.2-1
To copy to clipboard, switch view to plain text mode 

After the update:
Qt Code:
  1. qt5-base 5.5.0-2
  2. qt5-declarative 5.5.0-2
  3. qt5-doc 5.5.0-2
  4. qt5-graphicaleffects 5.5.0-2
  5. qt5-location 5.5.0-2
  6. qt5-quick1 5.5.0-2
  7. qt5-quickcontrols 5.5.0-2
  8. qt5-script 5.5.0-2
  9. qt5-sensors 5.5.0-2
  10. qt5-svg 5.5.0-2
  11. qt5-tools 5.5.0-2
  12. qt5-translations 5.5.0-2
  13. qt5-webchannel 5.5.0-2
  14. qt5-webkit 5.5.0-2
  15. qt5-xmlpatterns 5.5.0-2
  16. qtchooser 48-1
  17. qtcreator 3.5.0-1
To copy to clipboard, switch view to plain text mode 

This is the error I get:
Qt Code:
  1. 17:23:23: Running steps for project graphit...
  2. 17:23:23: Configuration unchanged, skipping qmake step.
  3. 17:23:23: Starting: "/usr/bin/make"
  4. 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
  5. In file included from /usr/include/qt/QtCore/qglobal.h:74:0,
  6. from /usr/include/qt/QtCore/qnamespace.h:37,
  7. from /usr/include/qt/QtCore/qobjectdefs.h:41,
  8. from /usr/include/qt/QtCore/qobject.h:40,
  9. from /usr/include/qt/QtCore/QObject:1,
  10. from src/controller.cpp:2:
  11. /usr/include/qt/QtCore/qurl.h:365:1: error: initializer provided for function
  12. Q_DECLARE_SHARED(QUrl)
  13. ^
  14. Makefile:975: recipe for target 'build/controller.o' failed
  15. make: *** [build/controller.o] Error 1
  16. 17:23:26: The process "/usr/bin/make" exited with code 2.
  17. Error while building/deploying project graphit (kit: Desktop)
  18. When executing step "Make"
  19. 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.