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
2bba8353
Commit
2bba8353
authored
Apr 19, 2010
by
Tobias Hunger
Browse files
Do not warn on ':' in symbian project names
... if it is part of the drive letter only.
parent
1f26640a
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/plugins/qt4projectmanager/qmakestep.cpp
View file @
2bba8353
...
...
@@ -207,7 +207,7 @@ void QMakeStep::run(QFutureInterface<bool> &fi)
return
;
}
#endif
// Report
e
n error if EPOC root is not set:
// Report
a
n error if EPOC root is not set:
if
(
epocRootDir
.
isEmpty
()
||
!
QDir
(
epocRootDir
).
exists
())
{
addTask
(
Task
(
Task
::
Error
,
tr
(
"The Symbian SDK was not found for Qt version %1."
).
arg
(
qtVersion
->
displayName
()),
...
...
@@ -223,7 +223,12 @@ void QMakeStep::run(QFutureInterface<bool> &fi)
return
;
}
// Warn of strange characters in project name:
if
(
projectDir
.
contains
(
QRegExp
(
"[^a-zA-Z0-9./]"
)))
{
QString
projectPath
=
projectDir
;
#if defined (Q_OS_WIN)
if
(
projectPath
.
at
(
1
)
==
QChar
(
':'
)
&&
projectPath
.
at
(
0
).
toUpper
()
>=
QChar
(
'A'
)
&&
projectPath
.
at
(
0
).
toUpper
()
<=
QChar
(
'Z'
))
projectPath
=
projectPath
.
mid
(
2
);
#endif
if
(
projectPath
.
contains
(
QRegExp
(
"[^a-zA-Z0-9./]"
)))
{
addTask
(
Task
(
Task
::
Warning
,
tr
(
"The Symbian toolchain does not handle special characters in a project path well."
),
QString
(),
-
1
,
ProjectExplorer
::
Constants
::
TASK_CATEGORY_BUILDSYSTEM
));
...
...
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