marcogulino / AndroidUsbCamera

Android USB Camera Driver/Bridge for GNU/Linux
178 stars 104 forks source link

Build: socketinterface.h:24:41: fatal error: qt4/QtNetwork/QAbstractSocket: No such file or directory #8

Open kolen opened 14 years ago

kolen commented 14 years ago

Tried to build under Arch Linux. cmake says everything is good, but make stops with error.

http://pastebin.com/gk7Gzqm6

palli commented 14 years ago

I run on Ubuntu and for me, installing libqt4-dev solved this problem.

Also had to install libavcodec-dev

$ sudo aptitude install libavcodec-dev libqt4-dev

kolen commented 14 years ago

I have qt dev stuff installed, in Arch there is no separate dev packages, regular packages contain headers. /usr/include/Qt exists, qmake, uic etc also.

It is strange that CMake says everything is found and creates makefiles, but then build fails.

c-holtermann commented 14 years ago

I habe the same problem with OpenSuse. I found that the network include files for qt4 are not in /usr/include/qt4/qtNetwork but directly in /usr/include/qtNetwork. Creating a symbolic link "sudo ln -s /usr/include /usr/include/qt4" seems to work.

Ungaminga commented 12 years ago

resolved by adding network to QT+= in my pro.

pinpox commented 11 years ago

Hi, ive got exactly the same problem but i dont understand your solution, Ungaminga. could you explain what you did exactly?