View Single Post
Posts: 642 | Thanked: 486 times | Joined on Aug 2008
#4
I have both the Qt SDK (qt creator and the like) installed but also scratchbox. I needed scratchbox because I was trying to compile Apache Axis 2 C for the Nokia N9.

I looked at each makefiles and the ORDER in which they compile each sub project (Axis2C has a xml parser, utils etc and other stuff it needs to compile).

But I was having issues when it was trying to link the various libraries I had built - one of the subprojects just failed to merge the various .o files into a .a file! So I just gave up for the time being.

But this scratchbox means I now have .a and .so files available for me to use!

---------------------------------

Anyway onto the next question, how do I get Qt Creator to merge the library files i have created INTO the .deb file? Currently it doesn't even copy them to the shadow build directory (and thus fails when it tries to find the library - I have to copy then manually).

Part two of this question - if the project compiles successfully (with the libraries) then does that mean the library files are ok (i.e. of the same architecure?) or will I find out when I try to create a new object that uses that library?