Browse Source

fixed pro for libptsocket

old
Robin Thoni 9 years ago
parent
commit
f297a6cbfd
2 changed files with 3 additions and 3 deletions
  1. 1
    1
      server/server.pro
  2. 2
    2
      viewer/viewer.pro

+ 1
- 1
server/server.pro View File

8
 
8
 
9
 QT       -= gui
9
 QT       -= gui
10
 
10
 
11
-LIBS += -lptsocket -lwiringPi
11
+LIBS += -lptsocketqt$$QT_MAJOR_VERSION -lwiringPi
12
 
12
 
13
 TARGET = gpioanalyser-server
13
 TARGET = gpioanalyser-server
14
 CONFIG   += console
14
 CONFIG   += console

+ 2
- 2
viewer/viewer.pro View File

11
 TARGET = viewer
11
 TARGET = viewer
12
 TEMPLATE = app
12
 TEMPLATE = app
13
 
13
 
14
-LIBS += -lptsocket
14
+LIBS += -lptsocketqt$$QT_MAJOR_VERSION
15
 
15
 
16
 SOURCES += main.cpp\
16
 SOURCES += main.cpp\
17
         mainwindow.cpp
17
         mainwindow.cpp
25
 
25
 
26
 contains(ANDROID_TARGET_ARCH,armeabi-v7a) {
26
 contains(ANDROID_TARGET_ARCH,armeabi-v7a) {
27
     ANDROID_EXTRA_LIBS = \
27
     ANDROID_EXTRA_LIBS = \
28
-        $$PWD/../../../tools/Android/android-ndk-r10e/platforms/android-9/arch-arm/usr/lib/libptsocket.so
28
+        $$PWD/../../../tools/Android/android-ndk-r10e/platforms/android-9/arch-arm/usr/lib/libptsocketqt$${QT_MAJOR_VERSION}.so
29
 }
29
 }
30
 
30
 

Loading…
Cancel
Save