When compiling I receive the error (which I don't understand == don't know what to do/where the error could be):
.comp/sw_normal.o: In function `operator delete(void*, void*)':
/usr/include/qt4/QtCore/qatomic_i386.h:62: multiple definition of `configuration::m_instance'
.comp/qvortaro.o:/home/lykurg/Programmierung/qvortaro/src/qvortaro.cpp:194: first defined here
collect2: ld returned 1 exit status
You have placed the definition of static member variable in a header file, therefore every .cpp file that includes it has it's own copy of that variable. Better move that line to one of the .cpp files, say configuration.cpp.
Bookmarks