Changeset View
Changeset View
Standalone View
Standalone View
src/atcore_default_folders.h.in
Show All 17 Lines | 1 | /* AtCore KDE Libary for 3D Printers | |||
---|---|---|---|---|---|
18 | You should have received a copy of the GNU General Public License | 18 | You should have received a copy of the GNU General Public License | ||
19 | along with this program. If not, see <http://www.gnu.org/licenses/>. | 19 | along with this program. If not, see <http://www.gnu.org/licenses/>. | ||
20 | */ | 20 | */ | ||
21 | #pragma once | 21 | #pragma once | ||
22 | 22 | | |||
23 | #include <QLibraryInfo> | 23 | #include <QLibraryInfo> | ||
24 | 24 | | |||
25 | namespace AtCoreDirectories { | 25 | namespace AtCoreDirectories { | ||
26 | /** | | |||
27 | * @brief pluginDir | | |||
28 | * List of directories that AtCore will look for plugins. Used if OS NOT Windows and Not Mac Os | | |||
29 | * | | |||
30 | * In Order: | | |||
31 | * 1 Build Dir/plugins (buildtime) | | |||
32 | * 2 ECM set KDE PLUGIN DIR (buildtime) | | |||
33 | * 3 Qt Plugin path/AtCore (runtime) | | |||
34 | * 4 plugins (runtime) | | |||
35 | */ | | |||
36 | const QStringList pluginDir = \ | 26 | const QStringList pluginDir = \ | ||
37 | QStringList(QStringLiteral("@CMAKE_CURRENT_BINARY_DIR@/plugins")) \ | 27 | QStringList(QStringLiteral("@CMAKE_CURRENT_BINARY_DIR@/plugins")) \ | ||
38 | << QStringList(QStringLiteral("@KDE_INSTALL_PLUGINDIR@/AtCore")) \ | 28 | << QStringList(QStringLiteral("@KDE_INSTALL_PLUGINDIR@/AtCore")) \ | ||
39 | << QStringList(QLibraryInfo::location(QLibraryInfo::PluginsPath) + QStringLiteral("/AtCore")) \ | 29 | << QStringList(QLibraryInfo::location(QLibraryInfo::PluginsPath) + QStringLiteral("/AtCore")) \ | ||
40 | << QStringList(QStringLiteral("plugins")); | 30 | << QStringList(QStringLiteral("plugins")); | ||
41 | }; | 31 | }; | ||
32 | |