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
Tobias Hunger
qt-creator
Commits
b74eb892
Commit
b74eb892
authored
Aug 30, 2010
by
Christian Kandeler
Browse files
Maemo: Partly revert
8fe7ac89
.
This is needed for sourve packages, but interferes with binary ones.
parent
c466e841
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/plugins/qt4projectmanager/qt-maemo/maemotemplatesmanager.cpp
View file @
b74eb892
...
...
@@ -204,13 +204,13 @@ bool MaemoTemplatesManager::adaptRulesFile(const Project *project)
rulesContents
.
replace
(
"DESTDIR"
,
"INSTALL_ROOT"
);
rulesContents
.
replace
(
"dh_shlibdeps"
,
"# dh_shlibdeps"
);
rulesContents
.
replace
(
"dh_strip"
,
"# dh_strip"
);
rulesContents
.
replace
(
"$(MAKE) clean"
,
"# $(MAKE) clean"
);
const
Qt4Project
*
const
qt4Project
=
static_cast
<
const
Qt4Project
*>
(
project
);
const
QString
proFileName
=
QFileInfo
(
qt4Project
->
rootProjectNode
()
->
path
()).
fileName
();
rulesContents
.
replace
(
"# Add here commands to configure the package."
,
"qmake "
+
proFileName
.
toLocal8Bit
());
//
rulesContents.replace("$(MAKE) clean", "# $(MAKE) clean");
//
const Qt4Project * const qt4Project
//
= static_cast<const Qt4Project *>(project);
//
const QString proFileName
//
= QFileInfo(qt4Project->rootProjectNode()->path()).fileName();
//
rulesContents.replace("# Add here commands to configure the package.",
//
"qmake " + proFileName.toLocal8Bit());
// Would be the right solution, but does not work (on Windows),
// because dpkg-genchanges doesn't know about it (and can't be told).
...
...
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