[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Mingw-cross-env-list] Configure options for qt
From: |
Mark Brand |
Subject: |
Re: [Mingw-cross-env-list] Configure options for qt |
Date: |
Wed, 13 Jan 2010 22:11:32 +0100 |
User-agent: |
Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.1.5) Gecko/20091130 SUSE/3.0.0-17.1 Thunderbird/3.0 |
> Mingw-cross-env install and config went as smoothly as we can imagine
> and compiling my own application also but I ended up at exec time with
> the same error message about the posqtgresql "Driver not loaded" (while
> compiled with the debian qt and psql packages the linux build is OK).
>
Earlier today, I posted the following on this list which might help:
> Check the Qt documentation on static plugins for the extra steps:
>
> http://qt.nokia.com/doc/4.6/plugins-howto.html#static-plugins
>
> Please read that before trying to understand the next paragraph.
>
> A remaining issue arises when your static Qt plugin depends on a static
> library outside Qt. This obviously comes up in mingw-cross-env. For
> example, qsqlpsql might depend on pq. In such cases "QTPLUGIN +=
> qsqlpsql" is not enough to get qmake to create a Makefile that links to
> pq. What seems to work is "QTPLUGIN += qsqlpsql pq", but I don't know
> if this is the best way to solve the problem.
> Could it be I'm forgetting to put some library file alongside the
> windows binary? Since the mingw-cross-env build is static I don't think
> so but who knows... I only joined the mingwm10.dll there since windows
> complained about it being absent on first try.
>
Mingwm10.dll should be all you need if you have a static build.
> Your advice welcome ! (and thanks anyway, I'm quite delighted to stay on
> my unix box to make most of the job!)
>
>
Look for the "shared" version of qt.mk I posted earlier today if you
want to try that. Using plugins is simpler that way.
-Mark
- [Mingw-cross-env-list] Configure options for qt, phep, 2010/01/13
- Re: [Mingw-cross-env-list] Configure options for qt, Marek BaczyĆski, 2010/01/13
- Re: [Mingw-cross-env-list] Configure options for qt, Mark Brand, 2010/01/13
- Re: [Mingw-cross-env-list] Configure options for qt, phep, 2010/01/13
- Re: [Mingw-cross-env-list] Configure options for qt,
Mark Brand <=
- Re: [Mingw-cross-env-list] Configure options for qt, Volker Grabsch, 2010/01/13
- Re: [Mingw-cross-env-list] Configure options for qt, Mark Brand, 2010/01/13
- Re: [Mingw-cross-env-list] Configure options for qt, Volker Grabsch, 2010/01/17
- Libidn.dll (WAS [Mingw-cross-env-list] Configure options for qt), Mark Brand, 2010/01/18
- Re: Libidn.dll (WAS [Mingw-cross-env-list] Configure options for qt), Tony Theodore, 2010/01/18
- Message not available
- Fwd: Libidn.dll (WAS [Mingw-cross-env-list] Configure options for qt), Tony Theodore, 2010/01/18
- Re: Fwd: Libidn.dll (WAS [Mingw-cross-env-list] Configure options for qt), Volker Grabsch, 2010/01/19
- Re: [Mingw-cross-env-list] Configure options for qt, phep, 2010/01/14
- Re: [Mingw-cross-env-list] Configure options for qt, Volker Grabsch, 2010/01/14
- Re: [Mingw-cross-env-list] Configure options for qt, Mark Brand, 2010/01/14