chozabu/FriendMap

Compile Problem

morpheusbeing opened this issue · 2 comments

Debian Testing Qt5.4.2. Deleted old FriendMap folder, and did git clone, qmake, make clean, and make -j2. Following is the output:

In file included from FriendMapPage.cpp:22:0:
FriendMapPage.h:26:19: fatal error: QWidget: No such file or directory
#include
^
compilation terminated.
Makefile:527: recipe for target 'FriendMapPage.o' failed
make: *** [FriendMapPage.o] Error 1
make: *** Waiting for unfinished jobs....
In file included from FriendMapPlugin.h:27:0,
from FriendMapPlugin.cpp:22:
FriendMapPage.h:26:19: fatal error: QWidget: No such file or directory
#include
^
compilation terminated.
Makefile:510: recipe for target 'FriendMapPlugin.o' failed
make: *** [FriendMapPlugin.o] Error 1

RetroShare compiles cleanly. what am I missing?

Nothing - I just have not updated for qt5 yet.
Realised though my systems marble package requires qt4 dev tools, it does actually support qt5.
Will let you know when I've made this update (though, I'll probably break qt4 support in the process!)

Err - if anyone else can convert to qt5 and send me a PR - that'd be amazing!