if you have time please try to enable postgresql module in QT
https://bugzilla.redhat.com/show_bug.cgi?id=479874 On Thu, Mar 12, 2009 at 11:05 AM, Thomas Sailer <[email protected]> wrote: > Hi, > > I've updated the mingw32-qt-win package to qt 4.5.0 final release. I > also enabled building of QtSvg, QtSql, and Qt3Support. The updated spec > file is at: > http://sailer.fedorapeople.org/mingw32-qt-win.spec > > Furthermore, I made an initial package of qwt for mingw32: > http://sailer.fedorapeople.org/mingw32-qwt.spec > http://sailer.fedorapeople.org/mingw32-qwt-5.1.1-3.fc11.src.rpm > > I used these packages to compile an application I've written. I've > encountered a few problems, though: > > 1) QMAKESPEC should be exported. Just setting it for the run of > qmake-qt4 is often not enough, as make sometimes causes qmake-qt4 to be > run in subdirectories, and these runs need the QMAKESPEC variable too. > > 2) qmake-qt4 somehow forgets to add "4" to the library names, i.e. it > ends up telling the linker to "-lQtCore" instead of "-lQtCore4", which > obviously fails. I tried to find the root cause, but didn't manage to > reverse engineer !...@* qmake in a reasonable time. My workaround was to > add QT_LIBINFIX=4 as argument to qmake-qt4. > > i.e.: > export QMAKESPEC=fedora-win32-cross > qmake-qt4 -win32 QT_LIBINFIX=4 > > 3) qmake-qt4 insists on calling the resource > compiler /usr/lib64/qt4/bin/rcc.exe. My workaround was to apply a perl > script to the Makefile to remove the .exe. > > Using these workarounds, I succeeded building my application. > > However running it I haven't been as successful. > > The application starts under wine, and seems to basically work, but no > text is displayed, i.e. every menu item is blank (apart from the icon), > dialog boxes etc. are also blank. > > Under Windows 2000, the application does not start, and there is no > error message. > > Under Windows XP, it starts, and basically works. > > Compiling the same sources under windows using the native MinGW results > in an exe that works both under Windows XP and 2000. > > Maybe someone has an idea what went wrong? > > Tom > > > _______________________________________________ > fedora-mingw mailing list > [email protected] > https://admin.fedoraproject.org/mailman/listinfo/fedora-mingw > -- ------------ Itamar Reis Peixoto e-mail/msn: [email protected] sip: [email protected] skype: itamarjp icq: 81053601 +55 11 4063 5033 +55 34 3221 8599 _______________________________________________ fedora-mingw mailing list [email protected] https://admin.fedoraproject.org/mailman/listinfo/fedora-mingw
