Utils: Display error message boxes on missing dlls

This used to work in previou Qt Creator versions.

Task-number: QTCREATORBUG-29662
Change-Id: I97b0b15edbc39c2d6c11bb7d71cacd7e006a26f5
Reviewed-by: Marcus Tillmanns <marcus.tillmanns@qt.io>
This commit is contained in:
Cristian Adam
2024-02-29 13:58:31 +01:00
parent 38ea622416
commit 251a8a2210

View File

@@ -59,9 +59,6 @@ void ProcessStartHandler::setWindowsSpecificStartupFlags(bool belowNormalPriorit
bool createConsoleWindow) bool createConsoleWindow)
{ {
#ifdef Q_OS_WIN #ifdef Q_OS_WIN
if (!belowNormalPriority && !createConsoleWindow)
return;
m_process->setCreateProcessArgumentsModifier( m_process->setCreateProcessArgumentsModifier(
[belowNormalPriority, createConsoleWindow](QProcess::CreateProcessArguments *args) { [belowNormalPriority, createConsoleWindow](QProcess::CreateProcessArguments *args) {
if (createConsoleWindow) { if (createConsoleWindow) {
@@ -71,6 +68,8 @@ void ProcessStartHandler::setWindowsSpecificStartupFlags(bool belowNormalPriorit
if (belowNormalPriority) if (belowNormalPriority)
args->flags |= BELOW_NORMAL_PRIORITY_CLASS; args->flags |= BELOW_NORMAL_PRIORITY_CLASS;
args->flags |= CREATE_DEFAULT_ERROR_MODE;
}); });
#else // Q_OS_WIN #else // Q_OS_WIN
Q_UNUSED(belowNormalPriority) Q_UNUSED(belowNormalPriority)