-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
Gregory Seidman wrote:
The Qt shared library for X11 links against the X11 libraries, but a Qt app doesn't link against them directly, does it? The app would link against the Qt libraries, which would link against either the Carbon framework or the X11 libraries, depending on which version it is.
Unless you're doing "-undefined suppress" (which is frowned upon) you need to link all dependent libraries when compiling something. This is required if you're prebinding stuff, too. So yes, it does link against the X11 libraries.
Also, many open-source tools will assume X11 is part of the Qt link line because their build systems aren't really set up for Qt/Mac or Qt/Win.
KDE's build is radically different when linking against Qt/Mac compared to Qt/X11 on OSX. All kinds of X11-specific bits in the KDE code need to be disabled. Just because *Qt* doesn't link against X11 doesn't mean your application doesn't expect to.
Er, are you sure of that? The libraries would be compiled with the same compiler on the same host platform. The public classes have the same methods and would be laid out the same way by the compiler. The difference I'm worried about is the difference between a dylib and a .so, and I'm not sure there is one.
Yes, I am sure. Qt's build system uses a qmake.conf file that's specified in a mkspec directory based on the platform and compiler. We use the "darwin-g++" target, Qt/Mac uses the "macx-g++", "macx-mwerks" or "macx-pbuilder" depending on how you're building it. Qt puts this "build key" into each plugin to avoid binary-incompatibility problems, it will only accept a mkspec that matches what the plugin was built with.
Unless we hack our (eventual) Qt/Mac package to use "darwin-g++" (which makes us incompatible with the "official" commercial Qt/Mac and any official binaries) it won't work. Even so, the library-link issues I mentioned earlier will break it.
There will be no reasonable way to mix and match.
- -- Benjamin Reed a.k.a. Ranger Rick -- http://ranger.befunk.com/
"Just try to imagine a world where e-mails are sent by your brain
before they are written, and are ready before they arrive by people
you have never even met in countries you have never even heard of!"
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.2 (Darwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iD8DBQE+8dm3Uu+jZtP2Zf4RAi6lAJ9nfDTLeKPJrsVqC4mBeDe61kv4GgCfUXTF Q4FGiNIedjvY61PXMxegdHE= =PS6u -----END PGP SIGNATURE-----
------------------------------------------------------- This SF.Net email is sponsored by: INetU Attention Web Developers & Consultants: Become An INetU Hosting Partner. Refer Dedicated Servers. We Manage Them. You Get 10% Monthly Commission! INetU Dedicated Managed Hosting http://www.inetu.net/partner/index.php _______________________________________________ Fink-users mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/fink-users
