Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Marco Bubke
flatpak-qt-creator
Commits
08c6941b
Commit
08c6941b
authored
Nov 11, 2009
by
dt
Browse files
Fix that importing adds a unecessary -spec specpath to additional arguments
parent
5c145075
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/plugins/qt4projectmanager/qt4projectconfigwidget.cpp
View file @
08c6941b
...
...
@@ -290,7 +290,7 @@ void Qt4ProjectConfigWidget::importLabelClicked()
QtVersion
::
QmakeBuildConfig
qmakeBuildConfig
=
result
.
first
;
QStringList
additionalArguments
=
Qt4Project
::
removeSpecFromArgumentList
(
result
.
second
);
QString
parsedSpec
=
Qt4Project
::
extractSpecFromArgumentList
(
result
.
second
,
directory
,
version
);
QString
versionSpec
=
version
->
mkspec
Path
();
QString
versionSpec
=
version
->
mkspec
();
if
(
parsedSpec
.
isEmpty
()
||
parsedSpec
==
versionSpec
||
parsedSpec
==
"default"
)
{
// using the default spec, don't modify additional arguments
}
else
{
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment