boxit-server does not build in QtCreator
Created by: ryanvade
I pulled the master branch and opened boxit-server in QtCreator (using the .pro file) and got this:
21:45:57: Running steps for project boxit-server...
21:45:57: Starting: "/usr/lib/qt/bin/qmake" /home/ryanvade/build/boxit/boxit-server/src/boxit-server.pro -r -spec linux-g++ CONFIG+=debug
21:45:57: The process "/usr/lib/qt/bin/qmake" exited normally.
21:45:57: Starting: "/usr/bin/make"
g++ -c -pipe -g -Wall -W -D_REENTRANT -fPIC -DQT_NETWORK_LIB -DQT_CORE_LIB -I../src -I. -isystem /usr/include/qt -isystem /usr/include/qt/QtNetwork -isystem /usr/include/qt/QtCore -I. -I/usr/lib/qt/mkspecs/linux-g++ -o main.o ../src/main.cpp
In file included from ../src/db/branch.h:35:0,
from ../src/db/database.h:34,
from ../src/boxitinstance.h:39,
from ../src/network/boxitthread.h:27,
from ../src/network/boxitserver.h:29,
from ../src/main.cpp:27:
../src/db/repo.h:97:5: error: 'repoFiles' does not name a type
repoFiles, repoFilesLink, QString state, lockedUsername, threadUsername, threadErrorString;
^
../src/db/repo.h: In member function 'QString Repo::getLockedUsername()':
../src/db/repo.h:64:42: error: 'lockedUsername' was not declared in this scope
QString getLockedUsername() { return lockedUsername; }
^
../src/db/repo.h: In member function 'QString Repo::getState()':
../src/db/repo.h:70:101: error: 'state' was not declared in this scope
QString getState() { QMutexLocker locker(&mutexUpdatingRepoAttributes); return state; }
^
Makefile:617: recipe for target 'main.o' failed
make: *** [main.o] Error 1
21:45:57: The process "/usr/bin/make" exited with code 2.
Error while building/deploying project boxit-server (kit: Desktop)
When executing step "Make"
21:45:57: Elapsed time: 00:01.