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
facd4c36
Commit
facd4c36
authored
Mar 17, 2011
by
Pawel Polanski
Browse files
Symbian: SIS files are not created per project now
Reviewed-by: Daniel Teske
parent
cf5048e2
Changes
4
Hide whitespace changes
Inline
Side-by-side
src/plugins/qt4projectmanager/qt-s60/s60deployconfiguration.cpp
View file @
facd4c36
...
...
@@ -148,12 +148,31 @@ bool S60DeployConfiguration::isStaticLibrary(const Qt4ProFileNode &projectNode)
return
false
;
}
bool
S60DeployConfiguration
::
isApplication
(
const
Qt4ProFileNode
&
projectNode
)
const
{
return
projectNode
.
projectType
()
==
ApplicationTemplate
;
}
bool
S60DeployConfiguration
::
isDeployable
(
const
Qt4ProFileNode
&
projectNode
)
const
{
const
QStringList
&
deployment
(
projectNode
.
variableValue
(
Deployment
));
// default_*deployment are default for DEPLOYMENT
const
char
*
defaultDeploymentStart
=
"default_"
;
const
char
*
defaultDeploymentEnd
=
"deployment"
;
//we need to filter out the default_*deployment
for
(
int
i
=
deployment
.
count
()
-
1
;
i
>=
0
;
--
i
)
{
const
QString
var
=
deployment
.
at
(
i
);
if
(
!
var
.
startsWith
(
QLatin1String
(
defaultDeploymentStart
))
||
!
var
.
endsWith
(
QLatin1String
(
defaultDeploymentEnd
)))
return
true
;
}
return
false
;
}
bool
S60DeployConfiguration
::
hasSisPackage
(
const
Qt4ProFileNode
&
projectNode
)
const
{
if
(
projectNode
.
projectType
()
!=
ApplicationTemplate
&&
projectNode
.
projectType
()
!=
LibraryTemplate
)
return
false
;
return
!
isStaticLibrary
(
projectNode
);
return
isDeployable
(
projectNode
)
||
isApplication
(
projectNode
);
}
QStringList
S60DeployConfiguration
::
signedPackages
()
const
...
...
src/plugins/qt4projectmanager/qt-s60/s60deployconfiguration.h
View file @
facd4c36
...
...
@@ -130,7 +130,9 @@ private:
QString
symbianTarget
()
const
;
QString
createPackageName
(
const
QString
&
baseName
)
const
;
bool
isDebug
()
const
;
bool
isDeployable
(
const
Qt4ProFileNode
&
projectNode
)
const
;
bool
isStaticLibrary
(
const
Qt4ProFileNode
&
projectNode
)
const
;
bool
isApplication
(
const
Qt4ProFileNode
&
projectNode
)
const
;
bool
hasSisPackage
(
const
Qt4ProFileNode
&
projectNode
)
const
;
private:
...
...
src/plugins/qt4projectmanager/qt4nodes.cpp
View file @
facd4c36
...
...
@@ -1745,6 +1745,7 @@ void Qt4ProFileNode::applyEvaluate(EvalResult evalResult, bool async)
QLatin1String
(
"QML_IMPORT_PATH"
),
m_projectDir
);
newVarValues
[
Makefile
]
=
m_readerExact
->
values
(
"MAKEFILE"
);
newVarValues
[
SymbianCapabilities
]
=
m_readerExact
->
values
(
"TARGET.CAPABILITY"
);
newVarValues
[
Deployment
]
=
m_readerExact
->
values
(
"DEPLOYMENT"
);
if
(
m_varValues
!=
newVarValues
)
{
Qt4VariablesHash
oldValues
=
m_varValues
;
...
...
src/plugins/qt4projectmanager/qt4nodes.h
View file @
facd4c36
...
...
@@ -104,7 +104,8 @@ enum Qt4Variable {
ConfigVar
,
QmlImportPathVar
,
Makefile
,
SymbianCapabilities
SymbianCapabilities
,
Deployment
};
class
Qt4PriFileNode
;
...
...
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