
Originally Posted by
JBlazeRSP
Try this:
apt-get install libqt4-dev
I swear I have problems installing just about everything...
Code:
root@bt:~# git clone http://github.com/AlekseyCherepanov/johnny.git -b release1
Initialized empty Git repository in /root/johnny/.git/
remote: Counting objects: 398, done.
remote: Compressing objects: 100% (240/240), done.
remote: Total 398 (delta 250), reused 306 (delta 158)
Receiving objects: 100% (398/398), 189.31 KiB, done.
Resolving deltas: 100% (250/250), done.
root@bt:~# cd johnny
root@bt:~/johnny# qmake
WARNING: Found potential symbol conflict of mainwindow.cpp (mainwindow.cpp) in SOURCES
WARNING: Found potential symbol conflict of mainwindow.h (mainwindow.h) in HEADERS
root@bt:~/johnny# make
Makefile:186: warning: overriding commands for target `moc_mainwindow.cpp'
Makefile:177: warning: ignoring old commands for target `moc_mainwindow.cpp'
/usr/share/qt3/bin/uic mainwindow.ui -o mainwindow.h
g++ -c -pipe -g -Wall -W -O2 -D_REENTRANT -DQT_NO_DEBUG -DQT_THREAD_SUPPORT -DQT_SHARED -DQT_TABLET_SUPPORT -I/usr/share/qt3/mkspecs/default -I. -I/usr/include/qt3 -o main.o main.cpp
main.cpp:5:30: error: QtGui/QApplication: No such file or directory
main.cpp: In function ‘int main(int, char**)’:
main.cpp:14: error: ‘QCoreApplication’ has not been declared
main.cpp:15: error: ‘QCoreApplication’ has not been declared
main.cpp:16: error: ‘QCoreApplication’ has not been declared
main.cpp:18: error: ‘QApplication’ was not declared in this scope
main.cpp:18: error: expected ‘;’ before ‘app’
main.cpp:19: error: ‘MainWindow’ was not declared in this scope
main.cpp:19: error: expected ‘;’ before ‘window’
main.cpp:20: error: ‘window’ was not declared in this scope
main.cpp:22: error: ‘app’ was not declared in this scope
main.cpp: At global scope:
main.cpp:8: warning: unused parameter ‘argc’
main.cpp:8: warning: unused parameter ‘argv’
make: *** [main.o] Error 1