You've already forked linuxdeploy-plugin-qt
mirror of
https://github.com/encounter/linuxdeploy-plugin-qt.git
synced 2026-03-30 11:19:03 -07:00
bb3ca84e09
The code has never belonged into the BasicPluginsDeployer anyway. This also makes calling the basic deployer's default code optional to custom deployers. This commit further puts a note in all existing deployers which call the default deployment code for future developers.
34 lines
1.6 KiB
C++
34 lines
1.6 KiB
C++
// system headers
|
|
#include <utility>
|
|
|
|
// library headers
|
|
#include <linuxdeploy/core/log.h>
|
|
|
|
// local headers
|
|
#include "BasicPluginsDeployer.h"
|
|
|
|
using namespace linuxdeploy::core::log;
|
|
using namespace linuxdeploy::core::appdir;
|
|
using namespace linuxdeploy::plugin::qt;
|
|
namespace bf = boost::filesystem;
|
|
|
|
BasicPluginsDeployer::BasicPluginsDeployer(std::string moduleName,
|
|
core::appdir::AppDir& appDir,
|
|
bf::path qtPluginsPath,
|
|
bf::path qtLibexecsPath,
|
|
bf::path installLibsPath,
|
|
bf::path qtTranslationsPath,
|
|
bf::path qtDataPath) : moduleName(std::move(moduleName)),
|
|
appDir(appDir),
|
|
qtPluginsPath(std::move(qtPluginsPath)),
|
|
qtLibexecsPath(std::move(qtLibexecsPath)),
|
|
qtInstallQmlPath(std::move(installLibsPath)),
|
|
qtTranslationsPath(std::move(qtTranslationsPath)),
|
|
qtDataPath(std::move(qtDataPath)) {}
|
|
|
|
bool BasicPluginsDeployer::deploy() {
|
|
// currently this is a no-op, but we might add more functionality later on, such as some kinds of default
|
|
// attempts to copy data based on the moduleName
|
|
return true;
|
|
}
|