Bug 411928

Summary: Unable to link qt_quick_cargo template
Product: [Unmaintained] rust-qt-binding-generator Reporter: tones111
Component: demoAssignee: Jos van den Oever <jos>
Status: RESOLVED UNMAINTAINED    
Severity: normal    
Priority: NOR    
Version First Reported In: unspecified   
Target Milestone: ---   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:
Attachments: Patch: Resolve cargo build linker issue

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/