diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt
index 8faff52ca..10459e7e1 100644
--- a/src/CMakeLists.txt
+++ b/src/CMakeLists.txt
@@ -11,8 +11,13 @@ mo2_configure_executable(organizer
target_link_libraries(organizer PUBLIC Shlwapi)
mo2_install_target(organizer)
-install(FILES "${CMAKE_CURRENT_SOURCE_DIR}/dlls.manifest.qt5"
+install(FILES "${CMAKE_CURRENT_SOURCE_DIR}/dlls.manifest.qt6"
DESTINATION bin/dlls
+ CONFIGURATIONS Release RelWithDebInfo
+ RENAME dlls.manifest)
+install(FILES "${CMAKE_CURRENT_SOURCE_DIR}/dlls.manifest.debug.qt6"
+ DESTINATION bin/dlls
+ CONFIGURATIONS Debug
RENAME dlls.manifest)
install(DIRECTORY
diff --git a/src/dlls.manifest.debug.qt5 b/src/dlls.manifest.debug.qt5
deleted file mode 100644
index 728c01b22..000000000
--- a/src/dlls.manifest.debug.qt5
+++ /dev/null
@@ -1,46 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/src/dlls.manifest.debug.qt6 b/src/dlls.manifest.debug.qt6
new file mode 100644
index 000000000..18845fba9
--- /dev/null
+++ b/src/dlls.manifest.debug.qt6
@@ -0,0 +1,46 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/src/dlls.manifest.qt5 b/src/dlls.manifest.qt5
deleted file mode 100644
index ebda0f8a5..000000000
--- a/src/dlls.manifest.qt5
+++ /dev/null
@@ -1,46 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/src/dlls.manifest.qt6 b/src/dlls.manifest.qt6
new file mode 100644
index 000000000..f5d1d9fdb
--- /dev/null
+++ b/src/dlls.manifest.qt6
@@ -0,0 +1,46 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+