Running build steps for project myaddressbook...
Configuration unchanged, skipping QMake step.
Starting: /usr/bin/make debug -w
make: Entering directory `/home/roncriss/development/myaddressbook'
/usr/bin/make -f Makefile.Debug
make[1]: Entering directory `/home/roncriss/development/myaddressbook'
g++ -c -m64 -pipe -g -Wall -W -D_REENTRANT -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++-64 -I. -I/usr/include/QtCore -I/usr/include/QtCore -I/usr/include/QtNetwork -I/usr/include/QtNetwork -I/usr/include/QtGui -I/usr/include/QtGui -I/usr/include -I. -Idebug -I. -o debug/addressbook.o addressbook.cpp
addressbook.cpp: In member function ‘void AddressBook::editItem()’:
addressbook.cpp:115: error: ‘selected’ was not declared in this scope
addressbook.cpp:117: error: variable-sized object ‘item’ may not be initialized
addressbook.cpp:117: warning: unused variable ‘item’
addressbook.cpp:121: error: ‘item’ was not declared in this scope
make[1]: Leaving directory `/home/roncriss/development/myaddressbook'
make: Leaving directory `/home/roncriss/development/myaddressbook'
make[1]: *** [debug/addressbook.o] Error 1
make: *** [debug] Error 2
Exited with code 2.
Error while building project myaddressbook
When executing build step 'Make'
Bookmarks