Files
linuxdeploy-plugin-qt/src/deployers/BasicPluginsDeployer.cpp
T
TheAssassin bb3ca84e09 Move back test code
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.
2019-09-24 02:36:34 +02:00

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;
}