[Interest] Qmake to CMake project conversion android build

Alexey Edelev semlanik at gmail.com
Wed Nov 16 13:08:40 CET 2022


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>:

> 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.
>
> 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
> https://lists.qt-project.org/listinfo/interest
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.qt-project.org/pipermail/interest/attachments/20221116/2e9e0c4d/attachment.htm>


More information about the Interest mailing list