diff options
author | Hugo Lima <hugo.lima@openbossa.org> | 2009-08-24 13:40:20 -0300 |
---|---|---|
committer | Hugo Lima <hugo.lima@openbossa.org> | 2009-08-25 16:23:16 -0300 |
commit | ec31fe05ff3f9972e9f7f9de9d3ac9e291403202 (patch) | |
tree | b9d85d22f3b54ff6d6b85f5ffc1d459472fe4ccc /main.cpp | |
parent | 68425b4bac65e293277123c393e8d5a47a62fcc7 (diff) |
Plugins always ends with _generator in their names
Diffstat (limited to 'main.cpp')
-rw-r--r-- | main.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -120,7 +120,7 @@ int main(int argc, char *argv[]) // Try to load a generator QString generatorSet = args.value("generatorSet"); if (!generatorSet.isEmpty()) { - QLibrary plugin(generatorSet); + QLibrary plugin(generatorSet+"_generator"); getGeneratorsFunc getGenerators = reinterpret_cast<getGeneratorsFunc>(plugin.resolve("getGenerators")); if (getGenerators) generators = getGenerators(); |