Hi all
I´ve built a small app using Qwt with .pro file like this:
QT += opengl \
sql \
svg \
xml
LIBS += c:/qwt-5.2.0/lib/qwt5.dll c:/qwt-5.2.0/lib/qwtd5.dll
INCLUDEPATH += c:/qwt-5.2.0/src
DEFINES += QWT_DLL
CONFIG += debug_and_release
TARGET = qtcreator2
TEMPLATE = app
SOURCES += main.cpp \
mainwindow.cpp \
plotterwidgetqwt.cpp
HEADERS += mainwindow.h \
plotterwidgetqwt.h
FORMS += mainwindow.ui \
plotterwidgetqwt.ui
RESOURCES += mdi.qrc
QT += opengl \
sql \
svg \
xml
LIBS += c:/qwt-5.2.0/lib/qwt5.dll c:/qwt-5.2.0/lib/qwtd5.dll
INCLUDEPATH += c:/qwt-5.2.0/src
DEFINES += QWT_DLL
CONFIG += debug_and_release
TARGET = qtcreator2
TEMPLATE = app
SOURCES += main.cpp \
mainwindow.cpp \
plotterwidgetqwt.cpp
HEADERS += mainwindow.h \
plotterwidgetqwt.h
FORMS += mainwindow.ui \
plotterwidgetqwt.ui
RESOURCES += mdi.qrc
To copy to clipboard, switch view to plain text mode
Inside QtCreator, I guess I´ve set all properly (Qt location C:\Qt\2009.04\qt, gdb location C:\Qt\2009.04\mingw\bin\gdb.exe, etc), and the code compiles ok. In fact, from a command prompt with proper path to qwt5.dll and qwtd5.dll, both release and debug executables work fine.
But when I run from within QtCreator (Ctrl+R), the app doesn´t start and I get:
C:\<MyPath>qtcreator2\debug\qtcreator2.exe exited with code -1073741515
What could be wrong???? Tks.
Bookmarks