Ignore:
Timestamp:
Oct 15, 2008, 2:49:49 PM (16 years ago)
Author:
garnier
Message:

see history

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/config/sys/Linux-g++.gmk

    r865 r868  
    6363    QTHOME     := /usr
    6464  endif
     65  QT_VERSION   := $(shell test -f $(QTHOME)/lib/libQt3Support.so && echo QT4 || echo QT3)
     66
    6567  ifndef QTFLAGS
    66     QTFLAGS    := -I$(QTHOME)/include/qt4/Qt
    67     QTFLAGS    += -I$(QTHOME)/include/qt4
     68    ifeq ($(QT_VERSION),QT4)
     69      QTFLAGS    := -I$(QTHOME)/include/qt4/Qt
     70      QTFLAGS    += -I$(QTHOME)/include/qt4
     71    else
     72      QTFLAGS    := -I$(QTHOME)/include/qt
     73    endif
    6874  endif
    6975  ifndef QTMOC
     
    7177  endif
    7278
    73   QT_VERSION   := $(shell test -f $(QTHOME)/lib/libQt3Support.so && echo QT4 || echo QT3)
    7479
    7580  ifndef GLQTLIBS
     
    7782      GLQTLIBS    := -L$(QTHOME)/lib -lqt-mt
    7883    else
    79       GLQTLIBS    := -L$(QTHOME)/lib/qt4 -lQtCore -lQtGui -lQtOpenGL -lQtSql -lQtXml
     84      GLQTLIBS    := -L$(QTHOME)/lib/qt4 -lQtCore -lQtGui -lQtOpenGL
    8085    endif
    8186  endif
     
    8489      QTLIBS    := -L$(QTHOME)/lib -lqt-mt
    8590    else
    86       QTLIBS    := -L$(QTHOME)/lib/qt4 -lQtCore -lQtGui -lQtSql -lQtXml
     91      QTLIBS    := -L$(QTHOME)/lib/qt4 -lQtCore -lQtGui
    8792    endif
    8893  endif
Note: See TracChangeset for help on using the changeset viewer.