| Summary: | Unable to link qt_quick_cargo template | ||
|---|---|---|---|
| Product: | [Unmaintained] rust-qt-binding-generator | Reporter: | tones111 |
| Component: | demo | Assignee: | 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 | ||
rust-qt-binding-generator is no longer maintained, please try more recent alternatives like https://github.com/KDAB/cxx-qt/ |
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.