Bug 417549 - qmake example doesn't compile - undefined reference
Summary: qmake example doesn't compile - undefined reference
Status: RESOLVED WORKSFORME
Alias: None
Product: frameworks-kirigami
Classification: Frameworks and Libraries
Component: general (show other bugs)
Version: Master
Platform: Android Linux
: NOR crash
Target Milestone: Not decided
Assignee: Marco Martin
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-02-13 10:30 UTC by SeeLook
Modified: 2022-11-02 05:06 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:


Attachments
Patch for missing files for build (1.33 KB, patch)
2020-02-13 21:52 UTC, SeeLook
Details

Note You need to log in before you can comment on or make changes to this bug.
Description SeeLook 2020-02-13 10:30:18 UTC
SUMMARY
Both qmake examples of Kirigami don't compile (linking) due to undefined reference.
Custom project as well.



STEPS TO REPRODUCE
1. inside Kirigami/examples/minimalqmake/3rdparty, clone/copy kirigami and breeze_icons repos
2. open minimalqmake.pro in Qt creator then build
3. doesn't build either for desktop nor Android

The same situation for static plugin example

OBSERVED RESULT
/home/tom/Apps/Qt/5.12.7/android_x86/include/QtQml/qqml.h:287: błąd: error: undefined reference to 'Icon::staticMetaObject'
and much more


EXPECTED RESULT
build successful :-)


SOFTWARE/OS VERSIONS
Linux/KDE Plasma:
(available in About System)
KDE Plasma Version: 5.18
KDE Frameworks Version: 5.67
Qt Version: 5.12.7(Android)/5.14.1(Desktop)

ADDITIONAL INFORMATION
BTW
src/desktopicon.cpp src/desktopicon.h
mentioned in pro file seem to be missing in current kirigami repo.
Had to comment them to get to linking.
Comment 1 SeeLook 2020-02-13 21:52:47 UTC
Created attachment 125992 [details]
Patch for missing files for build
Comment 2 SeeLook 2020-02-13 21:56:08 UTC
Attached patch fixes at last minimalqmake.
Now I can deploy my project with kirigami into Android device.

There were missing entries in .pri file
Comment 3 Justin Zobel 2022-10-03 10:37:42 UTC
Thank you for reporting this crash in KDE software. As it has been a while since this issue was reported, can we please ask you to see if you can reproduce the crash with a recent software version?

If you can reproduce the issue, please change the status to "CONFIRMED" when replying. Thank you!
Comment 4 Bug Janitor Service 2022-10-18 04:58:16 UTC
Dear Bug Submitter,

This bug has been in NEEDSINFO status with no change for at least
15 days. Please provide the requested information as soon as
possible and set the bug status as REPORTED. Due to regular bug
tracker maintenance, if the bug is still in NEEDSINFO status with
no change in 30 days the bug will be closed as RESOLVED > WORKSFORME
due to lack of needed information.

For more information about our bug triaging procedures please read the
wiki located here:
https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

If you have already provided the requested information, please
mark the bug as REPORTED so that the KDE team knows that the bug is
ready to be confirmed.

Thank you for helping us make KDE software even better for everyone!
Comment 5 Bug Janitor Service 2022-11-02 05:06:28 UTC
This bug has been in NEEDSINFO status with no change for at least
30 days. The bug is now closed as RESOLVED > WORKSFORME
due to lack of needed information.

For more information about our bug triaging procedures please read the
wiki located here:
https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

Thank you for helping us make KDE software even better for everyone!