ViewSolutions
Loading...
Searching...
No Matches
viewsolutions.h
Go to the documentation of this file.
1//#
2//# Copyright (C) 2020-2025 QuasarApp.
3//# Distributed under the GPLv3 software license, see the accompanying
4//# Everyone is permitted to copy and distribute verbatim copies
5//# of this license document, but changing it is not allowed.
6//#
7
8#ifndef VIEWSOLUTIONS_H
9#define VIEWSOLUTIONS_H
10
11#include "modelstorage.h"
13
14class QQmlApplicationEngine;
15
17//#define INIT_VIEW_SOLUTIONS(result, engine) \
18// Q_INIT_RESOURCE(ViewSolutionsResources); \
19// result = ViewSolutions::init(engine)
20
21inline void initResources() { Q_INIT_RESOURCE(ViewSolutionsResources); }
25namespace ViewSolutions {
26
32QSharedPointer<ModelStorage> VIEWSOLUTION_EXPORT init(QQmlApplicationEngine *engine);
33}
34
35#endif // VIEWSOLUTIONS_H
the ViewSolutions namespace
QSharedPointer< ModelStorage > init(QQmlApplicationEngine *engine)
init this method import all qml resources to your project.
void initResources()
#define VIEWSOLUTION_EXPORT