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
Forum Updated to NodeBB v4.3 + New Features

A template repository for Qt/QML apps

Scheduled Pinned Locked Moved Showcase
5 Posts 5 Posters 1.2k 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.
  • alex_spataruA Offline
    alex_spataruA Offline
    alex_spataru
    wrote on 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 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 last edited by
        #3
        This post is deleted!
        1 Reply Last reply
        0
        • R Offline
          R Offline
          Rocha154
          Banned
          wrote on last edited by
          #4
          This post is deleted!
          1 Reply Last reply
          0
          • A Offline
            A Offline
            AlexCrumple
            Banned
            wrote on 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