-
-
Notifications
You must be signed in to change notification settings - Fork 17
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
Does not compile using Qt-Creator (from qt.io) #156
Comments
Qt does not provide development headers for ICU unfortunately. I propose you use bundled ICU that comes with MapLibre by using |
Thank for the hint - currently compiling. In meanwhile i tried it using QtCreator delivered by debian 12 and accompanied qt6-dev libs. cmake tell qt6location dev lib is missing. True - debian 12 does not provide it. |
I propose you open a ticket against Debian and ask why they do not provide this. |
Already done - requesting QtLocation. Answer was: New packages will not be added to a release (here: Debian 12). |
OK, but will the package be added to the next release? |
Found a solution: Add path to bin directory of Qt (here: ~/Qt/6.6.3/gcc_64/bin) in front of $PATH environment variable. Possible reason: I have Debian provided QtCreator also in the system. For me this bug is solved (circumvented). |
No idea. I hope so. |
Update ... Checked the libs with ldd. Got:
I expected to be linked with libicuuc.so.56. Am i wrong ? cmake configure output (executed by qtcreator):
I think it should be linked with icu v.56 because the other qt libs are linked to it also. Or do i have to omit the internal ICU and give the lib path manually (how ?) |
This is weird. If you use internal ICU, it will not have a shared link at all. Did you do a full rebuild? |
I have checked out from git again and built the libs (with option --fresh). Same result - points to icu v.72. |
Unfortunately I can not reproduce your issue. Can you try using |
Describe the bug
Does not link - no libraries created
To Reproduce
Steps to reproduce the behavior:
Expected behavior
Compile successful - libraries created
Screenshots
Problems window of qtcreator:
Platform information (please complete the following information):
Additional context
Using qtcreator ide from http://qt.io
Is this an other ICU problem ?
Remember - the qt-ide package from qt.io bundles icu v. 56 whereas debian delivers icu v.72
I am not firm in cmake. It seems to be that cmake compiles using icu v.72 but linking step uses v.56.
How to tell cmake to take the qt-bundled version (v.56) into account.
The text was updated successfully, but these errors were encountered: