Răsfoiți Sursa

change autogen_lib.sh.

yuchuli 1 an în urmă
părinte
comite
780a6fc423
2 a modificat fișierele cu 12 adăugiri și 1 ștergeri
  1. 10 1
      autogen_lib.sh
  2. 2 0
      src/common/interpolation/interpolation.pro

+ 10 - 1
autogen_lib.sh

@@ -1,4 +1,4 @@
-#qtmake="/opt/qt/5.13.2/gcc_64/bin/qmake"
+#qtmake="/usr/lib/qt5/bin/qmake"
 
 qtmake=" "
 
@@ -124,6 +124,15 @@ rm Makefile
 rm .qmake.stash
 cd ../../../
 
+cd src/common/interpolation/
+$qtmake interpolation.pro
+make $MAKEOPT
+make clean
+cp libinterpolation.so ./../../../bin/
+rm Makefile
+rm .qmake.stash
+cd ../../../
+
 
 cd src/common/makeprotointerface/
 $qtmake makeprotointerface.pro

+ 2 - 0
src/common/interpolation/interpolation.pro

@@ -5,6 +5,8 @@ DEFINES += INTERPOLATION_LIBRARY
 
 CONFIG += c++17
 
+CONFIG += plugin
+
 # You can make your code fail to compile if it uses deprecated APIs.
 # In order to do so, uncomment the following line.
 #DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0x060000    # disables all the APIs deprecated before Qt 6.0.0