Bug 411928 - Unable to link qt_quick_cargo template
Summary: Unable to link qt_quick_cargo template
Status: RESOLVED UNMAINTAINED
Alias: None
Product: rust-qt-binding-generator
Classification: Unmaintained
Component: demo (show other bugs)
Version: unspecified
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: Jos van den Oever
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-09-15 03:28 UTC by tones111
Modified: 2024-09-22 20:07 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments
Patch: Resolve cargo build linker issue (1.40 KB, patch)
2019-09-15 03:28 UTC, tones111
Details

Note You need to log in before you can comment on or make changes to this bug.
Description tones111 2019-09-15 03:28:09 UTC
Created attachment 122662 [details]
Patch: Resolve cargo build linker issue

Attempting to build the qt_quick_cargo template via "cargo build" results in a linker error due to undefined references


STEPS TO REPRODUCE
1. cd into templates/qt_quick_cargo
2. run "cargo build" as described in README.md

OBSERVED RESULT
notice failure due to undefined refences to QGuiApplication and QQmlApplicationEngine


EXPECTED RESULT
binary is build succesfully

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: Arch linux
KDE Plasma Version: 5.16.5
KDE Frameworks Version: 5.61.0
Qt Version: 5.13.1

ADDITIONAL INFORMATION
commit abe2820145e904e74c05c0c888539ad12861ce20
rustc 1.37.0 (eae3437df 2019-08-13)

A patch to resolve the issue is attached.
Comment 1 Christoph Cullmann 2024-09-22 20:07:53 UTC
rust-qt-binding-generator is no longer maintained, please try more recent alternatives like

https://github.com/KDAB/cxx-qt/