|
|
> This only works when you statically bind in the QT library and you don't
> change the interface at all. Or are willing to rebuild the QT libs for
> yourself.
Why? If your code implements a QTable class with all the other things it
needs, then the linker simply won't even put the QTable-related symbols in
the import table in the executable if you're using a dynamicly-bound Qt. So
it doesn't really matter if you're using static or dynamic Qt. Obviously, the
linker has to believe that your symbols take precedence over those available
in the import library for the DLL that you're using, but at least with gnu
binutils it's simply a matter of ordering things right.
And there's no need to rebuild Qt, that's the whole point of this solution.
It has always worked for me that way, never had a problem.
Cheers, Kuba Ober
--
List archive and information: http://lists.trolltech.com/qt-interest/
|
|