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
fa81b861
Commit
fa81b861
authored
Jul 16, 2010
by
kh1
Browse files
Fix building projects if MADDE is on a different drive then the project.
Task-number: QTCREATORBUG-1649 Reviewed-by: ck
parent
2b3db205
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/plugins/qt4projectmanager/qt-maemo/maemopackagecreationstep.cpp
View file @
fa81b861
...
...
@@ -146,9 +146,16 @@ bool MaemoPackageCreationStep::createPackage()
colon
=
QLatin1String
(
";"
);
env
.
insert
(
key
,
path
%
QLatin1String
(
"bin"
)
%
colon
%
env
.
value
(
key
));
#endif
env
.
insert
(
key
,
targetRoot
()
%
"/bin"
%
colon
%
env
.
value
(
key
));
env
.
insert
(
key
,
path
%
QLatin1String
(
"madbin"
)
%
colon
%
env
.
value
(
key
));
env
.
insert
(
QLatin1String
(
"PERL5LIB"
),
path
%
QLatin1String
(
"madlib/perl5"
));
QString
perlLib
=
QDir
::
fromNativeSeparators
(
path
%
QLatin1String
(
"madlib/perl5"
));
#ifdef Q_OS_WIN
perlLib
=
perlLib
.
remove
(
QLatin1Char
(
':'
));
perlLib
=
perlLib
.
prepend
(
QLatin1Char
(
'/'
));
#endif
env
.
insert
(
QLatin1String
(
"PERL5LIB"
),
perlLib
);
const
QString
buildDir
=
buildDirectory
();
env
.
insert
(
QLatin1String
(
"PWD"
),
buildDir
);
...
...
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