Blob Blame History Raw
diff -up ./skyviewer.pro.qglqt4 ./skyviewer.pro
--- ./skyviewer.pro.qglqt4	2018-08-12 11:59:39.646005230 -0400
+++ ./skyviewer.pro	2018-08-12 12:00:41.437250340 -0400
@@ -62,7 +62,7 @@ LANGUAGE = C++
 TEMPLATE = app
 CONFIG += release warn_on qt thread
 CONFIG += thread
-LIBS += -lcfitsio -lGLU -lQGLViewer
+LIBS += -lcfitsio -lGLU -lQGLViewer-qt4
 LIBS += -lchealpix
 contains( QT_VERSION, "^4\..*" ){
   QT *= xml opengl
@@ -88,13 +88,13 @@ unix{
 #    message( Use qmake INCLUDE_DIR~Path/To/QGLViewer/HeaderFiles )
 #    error( Replace the ~ by the "equals" character in the above line )
 #  }
-#  !exists( $$LIB_DIR/libQGLViewer.so* ){
-#    message( Unable to find libQGLViewer.so in $$LIB_DIR )
+#  !exists( $$LIB_DIR/libQGLViewer-qt4.so* ){
+#    message( Unable to find libQGLViewer-qt4.so in $$LIB_DIR )
 #    message( You should run qmake LIB_DIR~Path/To/QGLViewer/Lib.so )
 #    error( Replace the ~ by the "equals" character in the above line )
 #  }
   unix{
-    LIBS *= -L$$LIB_DIR -lQGLViewer
+    LIBS *= -L$$LIB_DIR -lQGLViewer-qt4
   }
   macx{
     LIBS *= -lobjc