Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
Q
qt-creator
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Tobias Hunger
qt-creator
Commits
8593b8b2
Commit
8593b8b2
authored
16 years ago
by
Oswald Buddenhagen
Browse files
Options
Downloads
Patches
Plain Diff
add a bunch of missing functions.
code mostly c&p-d from qmake (sync from qt).
parent
adc58b04
No related branches found
No related tags found
No related merge requests found
Changes
3
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
shared/proparser/profileevaluator.cpp
+394
-37
394 additions, 37 deletions
shared/proparser/profileevaluator.cpp
shared/proparser/profileevaluator.h
+1
-0
1 addition, 0 deletions
shared/proparser/profileevaluator.h
shared/proparser/proparserutils.h
+19
-0
19 additions, 0 deletions
shared/proparser/proparserutils.h
with
414 additions
and
37 deletions
shared/proparser/profileevaluator.cpp
+
394
−
37
View file @
8593b8b2
This diff is collapsed.
Click to expand it.
shared/proparser/profileevaluator.h
+
1
−
0
View file @
8593b8b2
...
...
@@ -68,6 +68,7 @@ public:
virtual
bool
contains
(
const
QString
&
variableName
)
const
;
QStringList
absFileNames
(
const
QString
&
variableName
);
QStringList
absFileName
(
const
QString
&
name
);
void
setOutputDir
(
const
QString
&
dir
);
// Default is empty
void
setVerbose
(
bool
on
);
bool
queryProFile
(
ProFile
*
pro
);
...
...
This diff is collapsed.
Click to expand it.
shared/proparser/proparserutils.h
+
19
−
0
View file @
8593b8b2
...
...
@@ -85,6 +85,25 @@ struct Option
Option
::
qmakespec
=
QString
::
fromLatin1
(
qgetenv
(
"QMAKESPEC"
).
data
());
Option
::
field_sep
=
QLatin1Char
(
' '
);
}
enum
StringFixFlags
{
FixNone
=
0x00
,
FixEnvVars
=
0x01
,
FixPathCanonicalize
=
0x02
,
FixPathToLocalSeparators
=
0x04
,
FixPathToTargetSeparators
=
0x08
};
static
QString
fixString
(
QString
string
,
uchar
flags
);
inline
static
QString
fixPathToLocalOS
(
const
QString
&
in
,
bool
fix_env
=
true
,
bool
canonical
=
true
)
{
uchar
flags
=
FixPathToLocalSeparators
;
if
(
fix_env
)
flags
|=
FixEnvVars
;
if
(
canonical
)
flags
|=
FixPathCanonicalize
;
return
fixString
(
in
,
flags
);
}
};
#if defined(Q_OS_WIN32)
Option
::
TARG_MODE
Option
::
target_mode
=
Option
::
TARG_WIN_MODE
;
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
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!
Save comment
Cancel
Please
register
or
sign in
to comment