[Interest] Qmake to CMake project conversion android build

Michael Heiser | SYSTRONIK Elektronik und Systemtechnik GmbH Heiser at systronik.de
Wed Nov 16 12:09:35 CET 2022


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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.qt-project.org/pipermail/interest/attachments/20221116/64a6be0d/attachment.htm>
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: CMakeLists.txt
URL: <http://lists.qt-project.org/pipermail/interest/attachments/20221116/64a6be0d/attachment.txt>


More information about the Interest mailing list