From: mkr Date: Wed, 27 Jun 2007 08:31:17 +0000 (+0000) Subject: Porting to Qt4 : correction to show progress bar. X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=refs%2Fheads%2FBR_QT4;p=modules%2Fgui.git Porting to Qt4 : correction to show progress bar. --- diff --git a/src/Session/Session.pro b/src/Session/Session.pro new file mode 100644 index 000000000..812c9c5ee --- /dev/null +++ b/src/Session/Session.pro @@ -0,0 +1,85 @@ +#TEMPLATE = lib +#TARGET = SalomeSession +#DESTDIR = ../../lib +#MOC_DIR = ../../moc +#OBJECTS_DIR = ../../obj/$$TARGET + +# ================> + +TEMPLATE = +TARGET = SALOME_Session_Server +DESTDIR = ../../bin +MOC_DIR = ../../moc +OBJECTS_DIR = ../../obj/$$TARGET + +# <================ + + +QT_MT_INCLUDES = $$(QTDIR)/include $$(QTDIR)/include/QtCore $$(QTDIR)/include/QtGui $$(QTDIR)/include/QtOpenGL $$(QTDIR)/include/QtXml + +PYTHON_INCLUDES = $$(PYTHONHOME)/include/python2.4 + +HDF5_INCLUDES = $$(HDF5HOME)/include + +BOOST_CPPFLAGS = $$(BOOSTDIR)/include + +KERNEL_CXXFLAGS = $$(KERNEL_ROOT_DIR)/include/salome + +CASROOT = $$(CASROOT) +CAS_CPPFLAGS = $${CASROOT}/inc + +OMNIORBDIR = $$(OMNIORBDIR) +CORBA_INCLUDES = $${OMNIORBDIR}/include $${OMNIORBDIR}/include/omniORB4 $${OMNIORBDIR}/include/COS + +INCLUDEPATH += $${QT_MT_INCLUDES} $${PYTHON_INCLUDES} $${HDF5_INCLUDES} $${BOOST_CPPFLAGS} $${KERNEL_CXXFLAGS} $${CAS_CPPFLAGS} $${CORBA_INCLUDES} ../../salome_adm/unix $$(GUI_ROOT_DIR)/idl ../Qtx ../SUIT ../Event + +QT_MT_LIBS = -L$$(QTDIR)/lib -lQtCore -lQtXml -lQtGui -lQtOpenGL + +KERNEL_LDFLAGS = -L$$(KERNEL_ROOT_DIR)/lib/salome + +CAS_KERNEL = -L$${CASROOT}/Linux/lib -lTKernel + +LIBS += $${QT_MT_LIBS} $${KERNEL_LDFLAGS} -lSalomeNS -lSalomeLifeCycleCORBA -lOpUtil -lSALOMELocalTrace -lSalomeCatalog -lSalomeDSClient $${CAS_KERNEL} -L../../lib -lwith_loggerTraceCollector -lsuit -lEvent -L$$(GUI_ROOT_DIR)/idl -lSalomeIDLGUI + +# ================> + +OMNIORB_LIBS = -L$${OMNIORBDIR}/lib -lomniORB4 -lomniDynamic4 -lCOS4 -lCOSDynamic4 -lomnithread + +HDF5_LIBS = -L$$(HDF5HOME)/lib -lhdf5 + +INCLUDEPATH = $${INCLUDEPATH} +LIBS = $${LIBS} $${OMNIORB_LIBS} $${HDF5_LIBS} -lSalomeContainer -lSalomeResourcesManager -lTOOLSDS -lSalomeHDFPersist -lSalomeDSImpl -lSalomeGenericObj -lRegistry -lSalomeNotification -lSALOMEBasics -L$$(GUI_ROOT_DIR)/lib -lqtx -lSalomeSession + +# <================ + + +CONFIG -= debug release debug_and_release +CONFIG += qt thread debug dll shared + +win32:DEFINES += WIN32 +DEFINES += SESSION_EXPORTS OCC_VERSION_MAJOR=6 OCC_VERSION_MINOR=1 OCC_VERSION_MAINTENANCE=1 LIN LINTEL CSFDB No_exception HAVE_CONFIG_H HAVE_LIMITS_H HAVE_WOK_CONFIG_H OCC_CONVERT_SIGNALS OMNIORB_VERSION=4 __x86__ __linux__ COMP_CORBA_DOUBLE COMP_CORBA_LONG + +HEADERS = Session_Session_i.hxx +HEADERS += Session_ServerLauncher.hxx +HEADERS += Session_ServerThread.hxx +HEADERS += Session_ServerCheck.hxx +HEADERS += SalomeApp_Engine_i.hxx + +SOURCES = Session_Session_i.cxx +SOURCES += Session_ServerThread.cxx +SOURCES += Session_ServerLauncher.cxx +SOURCES += Session_ServerCheck.cxx +SOURCES += SalomeApp_Engine_i.cxx + +# ================> + +SOURCES += SALOME_Session_Server.cxx + +# <================ + +#includes.files = $$HEADERS +#includes.path = ../../include + +#INSTALLS += includes + + diff --git a/src/Session/Session_ServerCheck.cxx b/src/Session/Session_ServerCheck.cxx index 7a27b1f2a..887751279 100644 --- a/src/Session/Session_ServerCheck.cxx +++ b/src/Session/Session_ServerCheck.cxx @@ -508,6 +508,5 @@ void Session_ServerCheck::run() QThread::usleep( 30000 ); } // clear splash status - splash->setProgress( 0, 0 ); splash->setStatus( initialInfo ); }