Problems compiling Qt3 win32 with mingw
jamervini at abquv.com
Mon Jan 24 18:02:47 CET 2005
I had the same problems. First, make sure you have the latest release
available. Also make sure that you have the latest version of MINGW.
The version that I originally had produced the errors with the '/' '\'
recognition. If you have these it will work right out of the box
following the compile-mingw.php. One note is that you may need to run
The downloads that I used from the appropriate sites were:
If you have problems with compiling some of the network/kernel files
let me know and I can point you in the right direction.
On Jan 22, 2005, at 6:12 PM, AgarFu wrote:
> Hi, I'm following this instructions
> But I'm having lots of problems, The first one. Makefile generated for
> moc directory seems
> to be bad, I solve it editing Makefile, change / into \ and executing
> mingw32-make again, this dont solve
> the problem, when mingw32-make finish I execute qmake and mingw32-make
> again. Finally moc is ok.
> Then, go back into src and mingw32-make again. This time compilation
> ends with an error while
> compiling kernel/qwidget_win.cpp, undefined reference to LWA_ALPHA. I
> found the definition of
> this constant in google.
> #ifndef LWA_ALPHA
> #define LWA_ALPHA 0x00000002
> I put it into kernel/qwidget_win.cpp and mingw32-make again.
> The last error is this:
> g++ -c -mthreads -w -O2 -fno-exceptions -fno-rtti -DQT_SHARED
> T -DQT_ACCESSIBILITY_SUPPORT -DQT_TABLET_SUPPORT -DQT_NO_DEBUG
> -DUNICODE -DQT_MA
> KEDLL -DQT_THREAD_SUPPORT -DQT_NO_CUPS -DQT_NO_NIS -DQT_NO_BIG_CODECS
> YLE_MAC -DQT_NO_STYLE_AQUA -DQT_NO_STYLE_WINDOWSXP
> -DQT_NO_STYLE_POCKETPC -DQT_D
> LL -DQT_MAKEDLL -I"tmp" -I"3rdparty\libmng" -I"3rdparty\libjpeg"
> png" -I"3rdparty\zlib" -I"c:\PyQt\qt-3\include" -I"c:\PyQt\qt-3\src"
> release-shared-mt" -I"c:\PyQt\qt-3\mkspecs\win32-g++" -o
> mt\qfontengine_win.o kernel\qfontengine_win.cpp
> kernel/qfontengine_win.cpp: In member function `void
> QFontEngine::getGlyphIndexes(const QChar*, int, glyph_t*, bool)
> kernel/qfontengine_win.cpp:325: cannot convert `WCHAR*' to `UINT*' in
> kernel/qfontengine_win.cpp:334: cannot convert `WCHAR*' to `UINT*' in
> kernel/qfontengine_win.cpp: In member function `virtual
> QFontEngineWin::stringToCMap(const QChar*, int, glyph_t*,
> advance_t*, int*,
> bool) const':
> kernel/qfontengine_win.cpp:379: cannot convert `WCHAR*' to `UINT*' in
> kernel/qfontengine_win.cpp:392: cannot convert `WCHAR*' to `UINT*' in
> mingw32-make: *** [tmp\obj\release-shared-mt\qfontengine_win.o] Error 1
> I can't solve it yet, could you help me, please?
> Yes, I know, my english is awful, sorry.
> kde-cygwin mailing list
> kde-cygwin at kde.org
ABQ UV Pollution Solutions, Inc.
11030 Cochiti SE
Albuquerque, NM 87123
505.332.2169 505.332.2175 (fax) 505.710.8575 (mobile)
jamervini at abquv.com
More information about the kde-cygwin