aboutsummaryrefslogtreecommitdiffstats
path: root/src/app/main.cpp
diff options
context:
space:
mode:
authorEike Ziller <eike.ziller@qt.io>2023-06-22 14:59:24 +0200
committerEike Ziller <eike.ziller@qt.io>2023-06-26 06:58:36 +0000
commit6836caa14c247829bfd4edf47d31c87310d56211 (patch)
treeb8df66df0be9750c33ffc8938ff96be0e960ab8e /src/app/main.cpp
parentdff9e1463bfebe803af0c696222b6eeb04857c26 (diff)
Do not compile PROJECT_USER_FILE_EXTENSION into plugins
Set it in the app info in the main application and read it from there. Moves more branding information out of the plugins. Change-Id: I2f2e9fc96900793be15ac1907df70dda31c1b9c1 Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org> Reviewed-by: Alessandro Portale <alessandro.portale@qt.io>
Diffstat (limited to 'src/app/main.cpp')
-rw-r--r--src/app/main.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/app/main.cpp b/src/app/main.cpp
index c488a2d9be..b2c10208a6 100644
--- a/src/app/main.cpp
+++ b/src/app/main.cpp
@@ -662,6 +662,7 @@ int main(int argc, char **argv)
info.id = Constants::IDE_ID;
info.revision = Constants::IDE_REVISION_STR;
info.revisionUrl = Constants::IDE_REVISION_URL;
+ info.userFileExtension = Constants::IDE_PROJECT_USER_FILE_EXTENSION;
Utils::Internal::setAppInfo(info);
QTranslator translator;