From d9014bcb8f3c7d677cb01f1224c0729a0e1fb9dc Mon Sep 17 00:00:00 2001 From: Simon Stuerz Date: Thu, 15 Aug 2013 22:33:08 +0200 Subject: [PATCH] on raspberry pi still a cross compiler error --- hive/hive.pro | 3 +-- hive/libhive/libhive.pro | 2 +- hive/server/hive_pi/hive_pi.pro | 13 ++++++------- 3 files changed, 8 insertions(+), 10 deletions(-) diff --git a/hive/hive.pro b/hive/hive.pro index 1dcf6350..998e7cdb 100644 --- a/hive/hive.pro +++ b/hive/hive.pro @@ -1,5 +1,4 @@ TEMPLATE = subdirs CONFIG = ordered -SUBDIRS += libhive server \ - client/hive_client +SUBDIRS += libhive server diff --git a/hive/libhive/libhive.pro b/hive/libhive/libhive.pro index 4496e005..511fd959 100644 --- a/hive/libhive/libhive.pro +++ b/hive/libhive/libhive.pro @@ -4,7 +4,7 @@ # #------------------------------------------------- -QT += network declarative +QT += core network TARGET = libhive TEMPLATE = lib diff --git a/hive/server/hive_pi/hive_pi.pro b/hive/server/hive_pi/hive_pi.pro index 5af4aaa2..ac51bf9d 100644 --- a/hive/server/hive_pi/hive_pi.pro +++ b/hive/server/hive_pi/hive_pi.pro @@ -5,15 +5,14 @@ #------------------------------------------------- QT += core network - QT -= gui -TARGET = hive_pi +TARGET = hive CONFIG += console CONFIG -= app_bundle -target.path = /usr/bin +target.path = /root/bin INSTALLS += target @@ -23,10 +22,10 @@ TEMPLATE = app SOURCES += main.cpp \ hivecore.cpp -unix:!macx: LIBS += -L$$OUT_PWD/../../libhive/ -llibhive +HEADERS += \ + hivecore.h + +LIBS += -L$$OUT_PWD/../../libhive/ -llibhive INCLUDEPATH += $$PWD/../../libhive DEPENDPATH += $$PWD/../../libhive - -HEADERS += \ - hivecore.h