aboutsummaryrefslogtreecommitdiffstats
path: root/src/app/main.cpp
diff options
context:
space:
mode:
authorMarcus Tillmanns <marcus.tillmanns@qt.io>2022-05-31 11:16:44 +0200
committerMarcus Tillmanns <marcus.tillmanns@qt.io>2022-07-21 13:14:01 +0000
commit3462bc67be64d8caf59ed2f9a0ba6f5edddba3b9 (patch)
tree3c1b78f5a1709e754b1567be5bf5edd73f5288b0 /src/app/main.cpp
parenta5d44fb32b7d66448d3b1a4f871957eff02107f5 (diff)
filesystem: Add QFSEngine for filepaths
Change-Id: Ibd0c88c69863c0877138d8cc45541530c359bd9c Reviewed-by: hjk <hjk@qt.io>
Diffstat (limited to 'src/app/main.cpp')
-rw-r--r--src/app/main.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/app/main.cpp b/src/app/main.cpp
index ca18cfcfc7..0ba1ea6a05 100644
--- a/src/app/main.cpp
+++ b/src/app/main.cpp
@@ -35,6 +35,7 @@
#include <utils/algorithm.h>
#include <utils/environment.h>
#include <utils/fileutils.h>
+#include <utils/fsengine/fsengine.h>
#include <utils/hostosinfo.h>
#include <utils/optional.h>
#include <utils/qtcsettings.h>
@@ -451,6 +452,8 @@ int main(int argc, char **argv)
Restarter restarter(argc, argv);
Utils::Environment::systemEnvironment(); // cache system environment before we do any changes
+ Utils::FSEngine fileSystemEngine;
+
// Manually determine various command line options
// We can't use the regular way of the plugin manager,
// because settings can change the way plugin manager behaves