[Interest] Qmake to CMake project conversion android build

Michael Heiser | SYSTRONIK Elektronik und Systemtechnik GmbH Heiser at systronik.de
Wed Nov 16 13:27:50 CET 2022


I’m using Qt Creator and in Run EuroSoft live is already present:

[cid:image002.png at 01D8F9BF.37A3EFB0]

Regards Michael

Von: Alexey Edelev <semlanik at gmail.com>
Gesendet: Mittwoch, 16. November 2022 13:09
An: Michael Heiser | SYSTRONIK Elektronik und Systemtechnik GmbH <Heiser at systronik.de>
Cc: interest at qt-project.org
Betreff: Re: [Interest] Qmake to CMake project conversion android build

Hi,

Do you use Qt Creator to build, deploy and run the application? If yes I would guess you need to switch the "Run" target on in bottom part of the left panel.

Regards,
Alexey.

ср, 16 нояб. 2022 г. в 12:10, Michael Heiser | SYSTRONIK Elektronik und Systemtechnik GmbH <Heiser at systronik.de<mailto:Heiser at systronik.de>>:
Hello experts,
currently trying to move from qmake to cmake. Starting point in my Framework was using qmake2cmake tool. This generated a bunch of heavy cmake files, stripped them down and got it working that my integrated internal libs are building on windows.
I have managed to get building and running working under MSVC. Now I stuck with Android, my libraries and UI components in applets are building, also the final shared lib for EuroSoft_live is building but build process stops with following error:
👎 Fehler: Cannot find application binary in build dir D:/Projects/QtEuroSoftProjectQt6/build/Android_Qt_5_15_10_Clang_Multi_Abi-Debug/android-build//libs/armeabi-v7a/libEuroSoftProject_armeabi-v7a.so<https://v7a.so/>.

Project structure:
EuroSoftProject
CMakeLists.txt
- applications
CMakeLists.txt
- EuroSoft_live
CMakeLists.txt
- applets
- libraries
..

Why does the compiler search for libEuroSoftProject... and not for libEuroSoft_live...? When i remove the project tag from root CMakeLists.txt it searches for libProject... The final libEuroSoft_live is already exisiting in build-dir/android-build/libs/armeabi-v7a/...

Do you have any advice for me?

Regards Michael

SYSTRONIK Elektronik u. Systemtechnik GmbH, Gewerbestr. 57, D-88636 Illmensee
Registergericht Ulm - HRB 710423, Sitz der Gesellschaft Illmensee, USt-IdNr. DE 811 264 405
Geschäftsführer: Dipl.-VW Elmar Fritz, Ing. Ramon J. van Tuijl, Dipl.-Ing. (FH) Richard Skoberla

Diese E-Mail enthält vertrauliche und/oder rechtlich geschützte Informationen. Wenn Sie nicht der richtige Adressat sind oder die E-Mail irrtümlich erhalten haben, informieren
Sie bitte sofort den Absender und löschen Sie die E-Mail. Das unerlaubte Kopieren sowie die unbefugte Weitergabe der E-Mail ist nicht gestattet.

This e-mail may contain confidential and / or privileged information. If you are not the intended recipient or the e-mail may contain error, inform you immediately ask the sender and delete the e-mail. Unauthorized copying, unauthorized disclosure of e-mail is strictly forbidden.

_______________________________________________
Interest mailing list
Interest at qt-project.org<mailto:Interest at qt-project.org>
https://lists.qt-project.org/listinfo/interest
SYSTRONIK Elektronik u. Systemtechnik GmbH, Gewerbestr. 57, D-88636 Illmensee
Registergericht Ulm - HRB 710423, Sitz der Gesellschaft Illmensee, USt-IdNr. DE 811 264 405
Geschäftsführer: Dipl.-VW Elmar Fritz, Ing. Ramon J. van Tuijl, Dipl.-Ing. (FH) Richard Skoberla

Diese E-Mail enthält vertrauliche und/oder rechtlich geschützte Informationen. Wenn Sie nicht der richtige Adressat sind oder die E-Mail irrtümlich erhalten haben, informieren
Sie bitte sofort den Absender und löschen Sie die E-Mail. Das unerlaubte Kopieren sowie die unbefugte Weitergabe der E-Mail ist nicht gestattet.

This e-mail may contain confidential and / or privileged information. If you are not the intended recipient or the e-mail may contain error, inform you immediately ask the sender and delete the e-mail. Unauthorized copying, unauthorized disclosure of e-mail is strictly forbidden.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.qt-project.org/pipermail/interest/attachments/20221116/eb6203ae/attachment-0001.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image002.png
Type: image/png
Size: 29380 bytes
Desc: image002.png
URL: <http://lists.qt-project.org/pipermail/interest/attachments/20221116/eb6203ae/attachment-0001.png>


More information about the Interest mailing list