Sqeleton
Sqeleton is a Qt project template to start a new project with a ready structure.
File structure
.gitignore: usual files that git should ignore in the project.clang-formatand.editorconfig: these files are used to maintain a uniform code style. It mostly depends on programming habits and so it can be modified to suit your needs (same for all other files), but I'm curious to see if a common preference could be possible to be set.cmake: contains the support files for the resources and should not be modified per project (Pull Requests are welcome).Config.cmake: Project specific CMake configuration file, which must be modified.src: the usual source directory.external: contains git submodules required for the project, currently only a fork of LXQt build tools because some required changes.resources: icon, about dialog content - generic appdata/metainfo and desktop file templates.
Usage
- From the Github project page, when creating a new project based on Sqeleton,
click the green
Use this templatedropdown button and selectCreate a new repositoryinstead of fork, see the related documentation page for further information. - Set the project name in
CMakeLists.txtand editConfig.cmake. - Replace
resources/icons/application.iconwith the appropriated icon for the new application without changing the file name. If not asvg, editPROJECT_ICON_FORMATin the configuration file: the name of the resulting icon will be set automatically during the CMake configuration. - If the translations directory will be moved in a different position,
set the new path in
PROJECT_TRANSLATIONS_DIRin the configuration file. - Adapt the resource file in
resources/resources.qrcif needed.