Hi,
I have a question about rebuilding Qt, I've been trying all day to get something working but have not been able to thus far.
The situation is this, my development machine is running QtCreator with the 4.8.0 SDK. I have built a simple application (for the purposes of testing the rebuilt qt libraries) which requires only QtCore, it's a command line application that prints "Hello World".
If I put this in a folder, along with the dependencies, set PATH to nothing and run from the command line the application runs and says "Hello World".
Perfect.
Now, I downloaded the source to 4.8.2 and built this (I used the settings from the .cache for my configure).
Now, if I drop this DLL into the application folder and try running, I get an error about libstdc++-6.dll being missing, clearly what I've built is not how the SDK version was built.
Furthermore, if I put this DLL in the folder, the application stops complaining about the DLL being missing, but subsequently crashes without showing "Hello World".
By playing with the mkspec, I can get the libstdc++ to be statically linked into the binary so that the dependency goes, but I still crash.
I should be able to replace the SDK 4.8.0 QtCore4.dll with my 4.8.2 "home built" DLL and the original application should be happy, but it isn't.
My question is, how do I build Qt to exactly the same "spec" as the trolls did? I.e, compilers, options, path settings etc.
I'm just about to try the experiment again but using the mingw from the 4.8.0 dist (I was using a different mingw) just incase that makes a difference.
Any help or pointers would be appreciated.
Thanks.
Adrian
Bookmarks