Library ABI compatibility
-
Hi and welcome to devnet,
What kind of ABI to you have in mind ?
-
Then it's up to you to ensure you are using the right stuff.
If you are using your distribution provided Qt and development libraries, you won't have any problem. If using custom built libraries, then you should ensure that everything is using the same flags correctly.
-
Hi @Pppp,
Your description is a bit vague, can you get more specific?
You only need to compile qmake yourself if you build Qt from source code, e.g. if you cross compile for an embedded system. Otherwise using the prebuild binaries is just fine.
And you don't even need QMake to build a Qt-based program or library; Qbs and CMake are used often for this task also. I've even seen projects with handcrafted Makefiles.
Regards
-
-
What are you using for cross-compilation ?
It sounds strange that you have to re-build Qt each time you want to build your project.
-
gcc...
So if I got that right, you just configure and manually run the same qmake binary to output for different platforms and then use the generated makefile in the parent makefile project or optionally one step earlier call qmake from the script (but generally not still one step earlier and...)?