#############################################################################
# Makefile for building: ../bin/SALOME_InstallWizard
-# Generated by qmake (1.03a) on: Fri Feb 4 17:21:43 2005
+# Generated by qmake (1.03a) on: Tue Feb 8 18:14:31 2005
# Project: SALOME_INSTALL.pro
# Template: app
# Command: $(QMAKE) SALOME_INSTALL.pro
CXX = g++
LEX = flex
YACC = yacc
-CFLAGS = -pipe -Wall -W -O2 -DQT_NO_DEBUG
-CXXFLAGS = -pipe -Wall -W -O2 -DQT_NO_DEBUG
+CFLAGS = -pipe -Wall -W -O2 -D_REENTRANT -DQT_NO_DEBUG -DQT_THREAD_SUPPORT
+CXXFLAGS = -pipe -Wall -W -O2 -D_REENTRANT -DQT_NO_DEBUG -DQT_THREAD_SUPPORT
LEXFLAGS =
YACCFLAGS= -d
INCPATH = -I$(QTDIR)/include -I$(QTDIR)/mkspecs/default
LINK = g++
LFLAGS =
-LIBS = $(SUBLIBS) -Wl,-rpath,$(QTDIR)/lib -L$(QTDIR)/lib -L/usr/X11R6/lib -ldl -lSM -lqt-mt -lpthread -lXrender -lpng -lmng -ljpeg -lGL -lXinerama -lXext -lX11 -lm
+LIBS = $(SUBLIBS) -Wl,-rpath,$(QTDIR)/lib -L$(QTDIR)/lib -L/usr/X11R6/lib -ldl -lSM -lXrender -lpng -lmng -ljpeg -lGL -lXinerama -lqt-mt -lpthread -lXext -lX11 -lm
AR = ar cqs
RANLIB =
MOC = $(QTDIR)/bin/moc
You can rebuild Makefile by using qmake utility when necessary:
qmake -o Makefile SALOMEPRO_INSTALL.pro
-Note: there is one annoying bug of qmake: it addes -lqt flag to Makefile's
-LIBS variable even if there is qt-mt.so (qt-mt.a) library instead of qt.so (qt.a).
-In this case you should edit manually generated Makefile to remove -lqt flag.
-
---------------------------------------------------------
Using Qt files
---------------------------------------------------------
# Copyright : 2004-2005 CEA
TEMPLATE = app
-CONFIG += qt warn_on release
+CONFIG += qt warn_on release thread
HEADERS = SALOME_InstallWizard.hxx
HEADERS += SALOME_ProductsView.hxx
HEADERS += SALOME_ProgressView.hxx
SOURCES += SALOME_HelpWindow.cxx
SOURCES += InstallWizard.cpp
TARGET = ../bin/SALOME_InstallWizard
-unix:LIBS += -ldl -lSM -lqt-mt -lpthread -lXrender -lpng -lmng -ljpeg -lGL -lXinerama
+unix:LIBS += -ldl -lSM -lXrender -lpng -lmng -ljpeg -lGL -lXinerama