Tankyou Lesiok,
I installed the latest QT SDK 1.1.4, then run Update tool: removed MinGW libraries and added QT 4.8.0 RC for VS2010 from Experimental repository.
In addition, I had to install Windows 7 SDK 7.1.
Finally, I got QT Creator ready and set on the 4.8.0 library and Microsoft toolchain for build.
Now, I can build my project, I obtain the executable, but I get the error message:
Failed to start program. Path or permissions wrong?
Starting C:\Users\simone\Documents\Visual Studio 2010\Projects\qt\build\debug\matching.exe...
When I tried to start directly the exe file, I got missing QtGui4.dll and QtCore4.dll (why aren't they copied into the build directory??).
After I put those dlls in place, the program runs perfectly.
If I run it from QT Creator stil have the error as described before...
My .pro file follows:
# matching.pro
#
CONFIG += qt warn_off release
#defines
win32:DEFINES += WIN32
#includes
INCLUDEPATH += "$$(MYLIBROOT)/include"
INCLUDEPATH += "$$(MYLIBROOT)/include/cpp"
#libs
LIBPATH += "$$(MYLIBROOT)/lib/$$(MYLIBARCH)"
unix:LIBS += -lMYLIBcpp -lMYLIB -ldl -lpthread
win32:LIBS += MYLIBcpp.lib MYLIB.lib
#sources
HEADERS += qMYLIBwindow.h
HEADERS += matching.h
SOURCES += qMYLIBwindow.cpp
SOURCES += matching.cpp
SOURCES += main.cpp
# matching.pro
#
CONFIG += qt warn_off release
#defines
win32:DEFINES += WIN32
#includes
INCLUDEPATH += "$$(MYLIBROOT)/include"
INCLUDEPATH += "$$(MYLIBROOT)/include/cpp"
#libs
LIBPATH += "$$(MYLIBROOT)/lib/$$(MYLIBARCH)"
unix:LIBS += -lMYLIBcpp -lMYLIB -ldl -lpthread
win32:LIBS += MYLIBcpp.lib MYLIB.lib
#sources
HEADERS += qMYLIBwindow.h
HEADERS += matching.h
SOURCES += qMYLIBwindow.cpp
SOURCES += matching.cpp
SOURCES += main.cpp
To copy to clipboard, switch view to plain text mode
Bookmarks