- fix: auto add 32-bit compiler sets for TDM64-GCC
This commit is contained in:
parent
2d65e1d93b
commit
0b414df5b2
|
@ -529,8 +529,8 @@ void Compiler::runCommand(const QString &cmd, const QString &arguments, const Q
|
|||
bool errorOccurred = false;
|
||||
process.setProgram(cmd);
|
||||
QString cmdDir = extractFileDir(cmd);
|
||||
QProcessEnvironment env = QProcessEnvironment::systemEnvironment();
|
||||
if (!cmdDir.isEmpty()) {
|
||||
QProcessEnvironment env = QProcessEnvironment::systemEnvironment();
|
||||
QString path = env.value("PATH");
|
||||
if (path.isEmpty()) {
|
||||
path = cmdDir;
|
||||
|
@ -538,8 +538,9 @@ void Compiler::runCommand(const QString &cmd, const QString &arguments, const Q
|
|||
path = cmdDir + PATH_SEPARATOR + path;
|
||||
}
|
||||
env.insert("PATH",path);
|
||||
process.setProcessEnvironment(env);
|
||||
}
|
||||
env.insert("LANG","en");
|
||||
process.setProcessEnvironment(env);
|
||||
process.setArguments(QProcess::splitCommand(arguments));
|
||||
process.setWorkingDirectory(workingDir);
|
||||
|
||||
|
|
|
@ -181,9 +181,27 @@
|
|||
<property name="editTriggers">
|
||||
<set>QAbstractItemView::NoEditTriggers</set>
|
||||
</property>
|
||||
<property name="dragEnabled">
|
||||
<bool>false</bool>
|
||||
</property>
|
||||
<property name="dragDropOverwriteMode">
|
||||
<bool>false</bool>
|
||||
</property>
|
||||
<property name="dragDropMode">
|
||||
<enum>QAbstractItemView::NoDragDrop</enum>
|
||||
</property>
|
||||
<property name="defaultDropAction">
|
||||
<enum>Qt::IgnoreAction</enum>
|
||||
</property>
|
||||
<property name="alternatingRowColors">
|
||||
<bool>true</bool>
|
||||
</property>
|
||||
<property name="selectionMode">
|
||||
<enum>QAbstractItemView::SingleSelection</enum>
|
||||
</property>
|
||||
<property name="selectionBehavior">
|
||||
<enum>QAbstractItemView::SelectRows</enum>
|
||||
</property>
|
||||
<property name="textElideMode">
|
||||
<enum>Qt::ElideNone</enum>
|
||||
</property>
|
||||
|
|
Loading…
Reference in New Issue