Before comitting anything I would like to check if I'm not doing here something increadible stupid. At the moment I'm doing it like this:
Code: Select all
QFile filters("qrc:///defaultfilters.omwaddon.project");
QFileInfo info(filters);
boost::filesystem::path filters_path(info.absoluteFilePath().toUtf8().constData());
boost::filesystem::copy_file( filters_path, mProjectPath );