NickvisionApplication
NickvisionApplication copied to clipboard
A template for creating Nickvision applications
Application
Create new Nickvision applications
Features
- A template for creating cross-platform desktop apps in C++
- GNOME (Linux) support through GTK4/libadwaita
- Universal (Windows, Linux) support through QT
Chat
Contributing
See CONTRIBUTING.md for details on how can you help the project and how to provide information so we can help you in case of troubles with the app.
Building Manually
Application uses vcpkg to manage its dependencies and cmake as its build system.
Ensure both vcpkg and cmake are installed on your system before building.
A C++20 compiler is also required to build Application.
Configuring vcpkg
- Set the
VCPKG_ROOTenvironment variable to the path of your vcpkg installation's root directory.
Windows
- Set the
VCPKG_DEFAULT_TRIPLETenvironment variable tox64-windows - Run
vcpkg install libnick qtbase qtsvg qttools
Linux (GNOME)
- Set the
VCPKG_DEFAULT_TRIPLETenvironment variable tox64-linux - Run
vcpkg install libnick libxmlpp
Linux (QT)
- Set the
VCPKG_DEFAULT_TRIPLETenvironment variable tox64-linux - Run
vcpkg install libnick qtbase qtsvg qttools
Building
- First, clone/download the repo.
- Open a terminal and navigate to the repo's root directory.
- Create a new
builddirectory andcdinto it.
Windows
- From the
buildfolder, runcmake .. -G "Visual Studio 17 2022". - From the
buildfolder, runcmake --build . --config Release. - After these commands complete, Application will be successfully built and its binaries can be found in the
org.nickvision.application.qt/Releasefolder of thebuildfolder.
Linux (GNOME)
- From the
buildfolder, runcmake .. -DCMAKE_BUILD_TYPE=Release -DUI_PLATFORM=gnome. - From the
buildfolder, runcmake --build .. - After these commands complete, Application will be successfully built and its binaries can be found in the
org.nickvision.application.gnomefolder of thebuildfolder.
Linux (QT)
- From the
buildfolder, runcmake .. -DCMAKE_BUILD_TYPE=Release -DUI_PLATFORM=qt. - From the
buildfolder, runcmake --build .. - After these commands complete, Application will be successfully built and its binaries can be found in the
org.nickvision.application.qtfolder of thebuildfolder.
Code of Conduct
This project follows the GNOME Code of Conduct.
