Hi !!
I have a big problem with 4.8 (not with 4.7):
I build succesfully ActiveQT (4.8, mingw32, windows-xp) (I copy the libs generated to LIB dir)
Then I try to compile my app ….
but I got a lot of errors:
19:28:17: Running build steps for project jCQ…
19:28:17: Configuration unchanged, skipping qmake step.
19:28:17: Starting: “D:\Qt\qtcreator-2.4.0\mingw\bin\mingw32-make.exeâ€
D:/Qt/qtcreator-2.4.0/mingw/bin/mingw32-make.exe -f Makefile.Release
mingw32-make.exe[1]: Entering directory `D:/My DropBox/My Dropbox/jCQ/jCQ-build-desktop-Qt_4_8_0__4_8_0__Release’
g++ -Wl,-s -mthreads -Wl,-subsystem,windows -o release\jCQ.exe object_script.jCQ.Release -Lâ€d:\Qt\4.8.0\lib†-lmingw32 -lqtmain release\myapp_res.o -lQAxContainer -lQtSql4 -lQtGui4 -lQtCore4
mingw32-make.exe[1]: Leaving directory `D:/My DropBox/My Dropbox/jCQ/jCQ-build-desktop-Qt_4_8_0__4_8_0__Release’
d:\Qt\4.8.0\lib/libQAxContainer.a(qaxdump.o):qaxdump.cpp:(.text+0×503): undefined reference to `SysAllocStringLen@8′
d:\Qt\4.8.0\lib/libQAxContainer.a(qaxdump.o):qaxdump.cpp:(.text+0×535): undefined reference to `SysFreeString@4′
d:\Qt\4.8.0\lib/libQAxContainer.a(qaxdump.o):qaxdump.cpp:(.text+0x5b5): undefined reference to `SysFreeString@4′
d:\Qt\4.8.0\lib/libQAxContainer.a(qaxdump.o):qaxdump.cpp:(.text+0x5c1): undefined reference to `SysFreeString@4′
d:\Qt\4.8.0\lib/libQAxContainer.a(qaxdump.o):qaxdump.cpp:(.text+0x8a2): undefined reference to `IID_IDispatch’
d:\Qt\4.8.0\lib/libQAxContainer.a(qaxdump.o):qaxdump.cpp:(.text+0x8ad): undefined reference to `IID_IDispatch’
d:\Qt\4.8.0\lib/libQAxContainer.a(qaxdump.o):qaxdump.cpp:(.text+0x8ba): undefined reference to `IID_IDispatch’
d:\Qt\4.8.0\lib/libQAxContainer.a(qaxdump.o):qaxdump.cpp:(.text+0x8d2): undefined reference to `IID_IDispatch’
d:\Qt\4.8.0\lib/libQAxContainer.a(qaxbase.o):qaxbase.cpp:(.text+0×252): undefined reference to `IID_IClassFactory2′
d:\Qt\4.8.0\lib/libQAxContainer.a(qaxbase.o):qaxbase.cpp:(.text+0×278): undefined reference to `SysAllocStringLen@8′
d:\Qt\4.8.0\lib/libQAxContainer.a(qaxbase.o):qaxbase.cpp:(.text+0×292): undefined reference to `IID_IUnknown’
d:\Qt\4.8.0\lib/libQAxContainer.a(qaxbase.o):qaxbase.cpp:(.text+0x2b3): undefined reference to `SysFreeString@4′
d:\Qt\4.8.0\lib/libQAxContainer.a(qaxbase.o):qaxbase.cpp:(.text+0x2de): undefined reference to `IID_IUnknown’
d:\Qt\4.8.0\lib/libQAxContainer.a(qaxbase.o):qaxbase.cpp:(.text+0×766): undefined reference to `IID_IPersistPropertyBag’
….
….
….
19:28:17: Running build steps for project jCQ…
19:28:17: Configuration unchanged, skipping qmake step.
19:28:17: Starting: “D:\Qt\qtcreator-2.4.0\mingw\bin\mingw32-make.exeâ€
D:/Qt/qtcreator-2.4.0/mingw/bin/mingw32-make.exe -f Makefile.Release
mingw32-make.exe[1]: Entering directory `D:/My DropBox/My Dropbox/jCQ/jCQ-build-desktop-Qt_4_8_0__4_8_0__Release’
g++ -Wl,-s -mthreads -Wl,-subsystem,windows -o release\jCQ.exe object_script.jCQ.Release -Lâ€d:\Qt\4.8.0\lib†-lmingw32 -lqtmain release\myapp_res.o -lQAxContainer -lQtSql4 -lQtGui4 -lQtCore4
mingw32-make.exe[1]: Leaving directory `D:/My DropBox/My Dropbox/jCQ/jCQ-build-desktop-Qt_4_8_0__4_8_0__Release’
d:\Qt\4.8.0\lib/libQAxContainer.a(qaxdump.o):qaxdump.cpp:(.text+0×503): undefined reference to `SysAllocStringLen@8′
d:\Qt\4.8.0\lib/libQAxContainer.a(qaxdump.o):qaxdump.cpp:(.text+0×535): undefined reference to `SysFreeString@4′
d:\Qt\4.8.0\lib/libQAxContainer.a(qaxdump.o):qaxdump.cpp:(.text+0x5b5): undefined reference to `SysFreeString@4′
d:\Qt\4.8.0\lib/libQAxContainer.a(qaxdump.o):qaxdump.cpp:(.text+0x5c1): undefined reference to `SysFreeString@4′
d:\Qt\4.8.0\lib/libQAxContainer.a(qaxdump.o):qaxdump.cpp:(.text+0x8a2): undefined reference to `IID_IDispatch’
d:\Qt\4.8.0\lib/libQAxContainer.a(qaxdump.o):qaxdump.cpp:(.text+0x8ad): undefined reference to `IID_IDispatch’
d:\Qt\4.8.0\lib/libQAxContainer.a(qaxdump.o):qaxdump.cpp:(.text+0x8ba): undefined reference to `IID_IDispatch’
d:\Qt\4.8.0\lib/libQAxContainer.a(qaxdump.o):qaxdump.cpp:(.text+0x8d2): undefined reference to `IID_IDispatch’
d:\Qt\4.8.0\lib/libQAxContainer.a(qaxbase.o):qaxbase.cpp:(.text+0×252): undefined reference to `IID_IClassFactory2′
d:\Qt\4.8.0\lib/libQAxContainer.a(qaxbase.o):qaxbase.cpp:(.text+0×278): undefined reference to `SysAllocStringLen@8′
d:\Qt\4.8.0\lib/libQAxContainer.a(qaxbase.o):qaxbase.cpp:(.text+0×292): undefined reference to `IID_IUnknown’
d:\Qt\4.8.0\lib/libQAxContainer.a(qaxbase.o):qaxbase.cpp:(.text+0x2b3): undefined reference to `SysFreeString@4′
d:\Qt\4.8.0\lib/libQAxContainer.a(qaxbase.o):qaxbase.cpp:(.text+0x2de): undefined reference to `IID_IUnknown’
d:\Qt\4.8.0\lib/libQAxContainer.a(qaxbase.o):qaxbase.cpp:(.text+0×766): undefined reference to `IID_IPersistPropertyBag’
….
….
….
To copy to clipboard, switch view to plain text mode
I can build it with Qt 4.7.x
any idea?
thank you!
Added after 34 minutes:
I discovered the problem:
these files are missing under the LIB DIR
QAxContainer.prl
QAxContainerd.prl
QAxServer.prl
QAxServerd.prl
Bookmarks