-
Notifications
You must be signed in to change notification settings - Fork 16
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
QT 5 static build with QTCreator #21
Comments
Thanks! |
MSYS doesn't creates symlinks. It copy files instead |
Yep, I found that out at my depends... I am lauching another run from ICU and fixing it bit by bit so I don't encounter problems afterwards. My last build failed on QTCreator on a undefined reference problem, hope it will solve it... |
Update. My undefined reference ( protocol.o ) was due to a mistake in QT configure call (forgot to remove --no-icu and the likes). So back to QT building. After modification of configure, I encounter another error. When QT is configured, there is missing folders, which lead to a missing files during build. Missing folders are databases and all subfolders, in the final QT folder. This missing leads to a missing libpq--fe.h file. I am looking through the configuration process to find where this problem is coming from, but it is quite confusing. I compared logs between succeed x64 and failed x64-static configurations steps, there is no significant difference before the claim :
x64-static :
I need to find where these includes are coming from and then find out why they are missing. Reminder of done modifications :
|
Remove folder Databases in QTDIR and restart build |
that is the interesting part, there is no databases folder in QTDIR... So maybe I have to restart from step 1 flushing everything? Do you know which step is creating this folder? |
It create in qt-$version.sh script. But it only needed when building shared Qt. If you build static Qt you need to remove any sql drivers from configure parameters |
Compiling with --static-qt works just fine, but the lack of qtcreator is not something my team can be using so I need to compile it one way or another.
What I have done so far :
Compilation is running to test the last part.
In another issue ( #20 ) you told me to use a "toolchains builded with threads=win32 to avoid dependency from libwinpthread-1.dll"
So my next try is this. I have prepared my buildall script by adding
URL_MINGW64=http://sourceforge.net/projects/mingwbuilds/files/host-windows/releases/4.8.0/64-bit/threads-win32/seh/x64-4.8.0-release-win32-seh-rev2.7z
at the end of the --static-qt analysis block.
I am still not sure if I should let the "-lwinpthread" in then "STATIC_LD" variable, but I think I will find out sooner or later...
Sidenote : it might be possible to overcome the ICU compilation problem by creating, before compilation of ICU, symbolic links libcisu**.a pointing to sicu**.a but I am not sure MSYS handle that well...
The text was updated successfully, but these errors were encountered: