Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. General talk
  3. Showcase
  4. A template repository for Qt/QML apps
QtWS25 Last Chance

A template repository for Qt/QML apps

Scheduled Pinned Locked Moved Showcase
5 Posts 5 Posters 1.1k Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • A Offline
    A Offline
    alex_spataru
    wrote on 18 Jan 2021, 07:58 last edited by
    #1

    Hi,

    When I create a new Qt project, I usually waste a lot of time writing code for C++/QML initialization, configuring the logger, updater, application appearance, deployment files, etc.

    So I decided to make a template repository at GitHub for my future projects, it features:

    • Code for displaying a QtQuick ApplicationWindow.
    • Automated builds & artifact upload for Windows, macOS & GNU/Linux.
    • GitHub issue templates.
    • Code of conduct file.
    • Translation template files & code.
    • Deploy configurations for Windows, macOS & GNU/Linux.
    • NSIS installer for Windows.
    • Save window size, position & maximize status automatically.
    • Load UI.qml asynchronously (to keep main.qml small).
    • Integration with QSimpleUpdater & CuteLogger.
    • clang-format integration.
    • .gitignore file for Qt projects

    If you need to use OpenSSL for your projects, you will need to add it yourself (or make a pull-request, because I want to automate this and I still haven't done that).

    If you are interested in the repository (or checking it & fix some probable mistakes that I made), you can check it at: https://github.com/alex-spataru/QtApp-Template

    Greetings!

    1 Reply Last reply
    4
    • M Offline
      M Offline
      mnesarco
      wrote on 18 Jan 2021, 17:36 last edited by
      #2

      Looks very nice. It would be great to have a Qt6 version (pure cmake project)

      1 Reply Last reply
      0
      • J Offline
        J Offline
        James528
        Banned
        wrote on 16 Mar 2021, 12:02 last edited by
        #3
        This post is deleted!
        1 Reply Last reply
        0
        • R Offline
          R Offline
          Rocha154
          Banned
          wrote on 14 Apr 2021, 05:14 last edited by
          #4
          This post is deleted!
          1 Reply Last reply
          0
          • A Offline
            A Offline
            AlexCrumple
            Banned
            wrote on 2 Sept 2021, 18:21 last edited by
            #5
            This post is deleted!
            1 Reply Last reply
            0

            • Login

            • Login or register to search.
            • First post
              Last post
            0
            • Categories
            • Recent
            • Tags
            • Popular
            • Users
            • Groups
            • Search
            • Get Qt Extensions
            • Unsolved