Giter Site home page Giter Site logo

ekkesqtcmakelists's Introduction

ekkesQtCMakeLists

ekke's CMakeLists.txt for mobile business apps (Android, iOS) with Qt 6.7+

Warning

This CMakeLists.txt is specialized for mobile apps and projects with nested subfolders (QML, Resources) - typically QMake projects ported from Qt 5.15. For non-mobile QML apps take a look at Building a QML Application

Background

ekke ported mobile apps from Qt 5.15 (QMake) to Qt 6.6+ (QMake). See: ekkes Checklist

ekke supports up to 20 mobile business apps, but doesn't want to support 20 different CMakeLists.txt ;-)

While moving from QMake to CMake ekke's CMakeLists.txt example was created and will be used to build all of ekke's apps with CMake. Hopefully this will help other devs with their CMakeLists.txt.

CMake for Mobile

All the details about CMake for Mobile (Qt 6.7+) Apps

ekke's apps in Qt 5.15 are organized with nested folders for C++, QML, Resources. This isn't so easy to handle, as the folders do not contain any modules. Take a look at ekkes Project Structure and qt_add_qml_module and discussions at QTBUG-111763

This Repo is an Add-On to ekke's blog articles about CMakeLists for mobile. Makes it easier to discuss issues and to follow changes. ekke's CMakeLists.txt provides solutions HowTo deal with nested subdirs and Android / iOS with CMake.

Download helpful files

Also some helpful files can be downloaded from here:

  • ekke's CMakeLists.txt with comments
  • ekke's CMakeLists.txt compact, no comments
  • MSWord Formular 'ProjectInfo'
  • 'ProjectInfo' example QtWS Conference App
  • ios assets: Icons, Storyboard
  • ekke's ios/Info.plist
  • some snippets for ios/Info.plist
  • QtC external tools and macOS scripts to collect filenames
  • ...

W I P - All is work-in-progress. Not all variations in ekke's CMakeLists have been tested yet. stay tuned...


Disclaimer: ekke started with no knowledge about CMake, also dealing with build systems isn't ekke's domain. If there's something wrong or can be done better/easier, please let ekke know about

ekkesqtcmakelists's People

Contributors

ekke avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.