-
-
Notifications
You must be signed in to change notification settings - Fork 226
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
Cannot build for linux in QtCreator - undefined reference #5713
Comments
This sounds like the qt positioning cmake config is missing a dependency to poly2tri (likely somewhere in |
Describe the issue
I wanted to experiment with building in QtCreator under linux. All went fine until the linking stage, where there is an error with missing references.
Reproduction steps
Steps to reproduce the behavior:
/usr/bin/ld: /home/maciek/p/QField2/QField/build-x64-linux/vcpkg_installed/x64-linux/lib/libQt6Positioning.so.6.6.3: undefined reference to symbol '_ZN3p2t3CDT11TriangulateEv'
/usr/bin/ld: /home/maciek/p/QField2/QField/build-x64-linux/vcpkg_installed/x64-linux/lib/libpoly2tri.so: error adding symbols: DSO missing from command line
Expected behavior
It should produce the executable without this error.
QField (please complete the following information)
The text was updated successfully, but these errors were encountered: