Hi!
I configured Qwt on Windows 7 like you did and all the exemples work !!
Except, when I try to run a project, I get theses errors related to the qmake step:
Exécution des étapes de compilation pour le projet plotscroll...
Configuration non modifiée, passe l'étape QMake.
Lancement : C:/Qt/2010.03/mingw/bin/mingw32-make.exe -w
mingw32-make: Entering directory `C:/Users/Geneviève/Desktop/plotscroll'
c:\qt\2010.03\qt\bin\qmake.exe -spec ..\..\..\..\Qt\2010.03\qt\mkspecs\win32-g++ -win32 -o Makefile plotscroll.pro
mingw32-make: Leaving directory `C:/Users/Geneviève/Desktop/plotscroll'
mingw32-make: Entering directory `C:/Users/Geneviève/Desktop/plotscroll'
C:/Qt/2010.03/mingw/bin/mingw32-make -f Makefile.Debug
mingw32-make[1]: Entering directory `C:/Users/Geneviève/Desktop/plotscroll'
g++ -enable-stdcall-fixup -Wl,-enable-auto-import -Wl,-enable-runtime-pseudo-reloc -mthreads -Wl -Wl,-subsystem,windows -o debug\plotscroll.exe debug/plot.o debug/thread.o debug/win.o debug/main.o debug/moc_plot.o debug/moc_thread.o debug/moc_win.o -L"c:\Qt\2010.03\qt\lib" -lmingw32 -lqtmaind -LC:/Qt/2010.03/qwt-5.2.1/qwt-5.2.1/lib\-lqwt d -lQtGuid4 -lQtCored4
mingw32-make[1]: Leaving directory `C:/Users/Geneviève/Desktop/plotscroll'
mingw32-make: Leaving directory `C:/Users/Geneviève/Desktop/plotscroll'
g++: d: No such file or directory
mingw32-make[1]: *** [debug\plotscroll.exe] Error 1
mingw32-make: *** [debug] Error 2
Terminé avec le code de sortie 2.
Erreur lors de la compilation du projet plotscroll //Error in the compilation of plotscroll project
lors de l'éxecution de l'étape 'Make'
Exécution des étapes de compilation pour le projet plotscroll...
Configuration non modifiée, passe l'étape QMake.
Lancement : C:/Qt/2010.03/mingw/bin/mingw32-make.exe -w
mingw32-make: Entering directory `C:/Users/Geneviève/Desktop/plotscroll'
c:\qt\2010.03\qt\bin\qmake.exe -spec ..\..\..\..\Qt\2010.03\qt\mkspecs\win32-g++ -win32 -o Makefile plotscroll.pro
mingw32-make: Leaving directory `C:/Users/Geneviève/Desktop/plotscroll'
mingw32-make: Entering directory `C:/Users/Geneviève/Desktop/plotscroll'
C:/Qt/2010.03/mingw/bin/mingw32-make -f Makefile.Debug
mingw32-make[1]: Entering directory `C:/Users/Geneviève/Desktop/plotscroll'
g++ -enable-stdcall-fixup -Wl,-enable-auto-import -Wl,-enable-runtime-pseudo-reloc -mthreads -Wl -Wl,-subsystem,windows -o debug\plotscroll.exe debug/plot.o debug/thread.o debug/win.o debug/main.o debug/moc_plot.o debug/moc_thread.o debug/moc_win.o -L"c:\Qt\2010.03\qt\lib" -lmingw32 -lqtmaind -LC:/Qt/2010.03/qwt-5.2.1/qwt-5.2.1/lib\-lqwt d -lQtGuid4 -lQtCored4
mingw32-make[1]: Leaving directory `C:/Users/Geneviève/Desktop/plotscroll'
mingw32-make: Leaving directory `C:/Users/Geneviève/Desktop/plotscroll'
g++: d: No such file or directory
mingw32-make[1]: *** [debug\plotscroll.exe] Error 1
mingw32-make: *** [debug] Error 2
Terminé avec le code de sortie 2.
Erreur lors de la compilation du projet plotscroll //Error in the compilation of plotscroll project
lors de l'éxecution de l'étape 'Make'
To copy to clipboard, switch view to plain text mode
Here's my .pro file:
QWT_LOCATION = C:/Qt/2010.03/qwt-5.2.1/qwt-5.2.1 # Qwt location (must match exactly to where you unzip the files)
INCLUDEPATH += $${QWT_LOCATION}/src
LIBS = -L$${QWT_LOCATION}/lib\-lqwt
# The following section is to select static lib base on debug or release build7.
if(!debug_and_release|build_pass):CONFIG(debug, debug|release) {
mac:LIBS = $$member(LIBS, 0) \
$$member(LIBS, 1)_debug
win32:LIBS = $$member(LIBS,0)\
$$member(LIBS, 1)d
}
TEMPLATE = app
HEADERS += \
plot.h \
thread.h \
win.h \
SOURCES += \
plot.cpp \
thread.cpp \
win.cpp \
main.cpp
QWT_LOCATION = C:/Qt/2010.03/qwt-5.2.1/qwt-5.2.1 # Qwt location (must match exactly to where you unzip the files)
INCLUDEPATH += $${QWT_LOCATION}/src
LIBS = -L$${QWT_LOCATION}/lib\-lqwt
# The following section is to select static lib base on debug or release build7.
if(!debug_and_release|build_pass):CONFIG(debug, debug|release) {
mac:LIBS = $$member(LIBS, 0) \
$$member(LIBS, 1)_debug
win32:LIBS = $$member(LIBS,0)\
$$member(LIBS, 1)d
}
TEMPLATE = app
HEADERS += \
plot.h \
thread.h \
win.h \
SOURCES += \
plot.cpp \
thread.cpp \
win.cpp \
main.cpp
To copy to clipboard, switch view to plain text mode
How can I fix this ?
Thanks for your help !!
Bookmarks