[ tested with Qt sdk 2010.02.1 ( Qt 4.6.2 ; Qt Creator 1.3.1 ; MinGW 3.15 ; GCC4.4.0 ) ]
win32 {
INCLUDEPATH += $$quote(C:/Program Files/marble/include/marble) LIBS += $$quote(C:/Program Files/marble/libmarblewidget.dll)
} unix {
LIBS += -L/usr/local/lib \ -lmarblewidget
}
qmake
mingw32-make release (the "release" flag is important due to to a problem of qt debugging libs built for VC++. Otherwise you will have this kind of error : "Microsoft Visual C++ Runtime Library" "runtime error")
-So here it is. You know how to build it in a console. Building it in Qt Creator should not be very difficult. The important part is to configure your project to call ming32-make with the "release" flag :
[to be continued]