Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
F
flatpak-qt-creator
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Environments
Packages & Registries
Packages & Registries
Container Registry
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Marco Bubke
flatpak-qt-creator
Commits
d8b2598f
Commit
d8b2598f
authored
Nov 04, 2009
by
con
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Symbian SDK path should be editable for Qt in PATH.
Reviewed-by: Robert Loehning
parent
d2bd092b
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
5 additions
and
11 deletions
+5
-11
src/plugins/qt4projectmanager/qtoptionspage.cpp
src/plugins/qt4projectmanager/qtoptionspage.cpp
+3
-1
src/plugins/qt4projectmanager/qtversionmanager.cpp
src/plugins/qt4projectmanager/qtversionmanager.cpp
+0
-6
src/plugins/qt4projectmanager/qtversionmanager.h
src/plugins/qt4projectmanager/qtversionmanager.h
+2
-4
No files found.
src/plugins/qt4projectmanager/qtoptionspage.cpp
View file @
d8b2598f
...
...
@@ -399,7 +399,9 @@ void QtOptionsPageWidget::updateState()
m_ui
->
qmakePath
->
setEnabled
(
enabled
&&
!
isAutodetected
);
m_ui
->
mingwPath
->
setEnabled
(
enabled
);
m_ui
->
mwcPath
->
setEnabled
(
enabled
);
m_ui
->
s60SDKPath
->
setEnabled
(
enabled
&&
!
isAutodetected
);
bool
s60SDKPathEnabled
=
enabled
&&
(
isAutodetected
?
version
->
s60SDKDirectory
().
isEmpty
()
:
true
);
m_ui
->
s60SDKPath
->
setEnabled
(
s60SDKPathEnabled
);
m_ui
->
gccePath
->
setEnabled
(
enabled
);
const
bool
hasLog
=
enabled
&&
!
m_ui
->
qtdirList
->
currentItem
()
->
data
(
2
,
Qt
::
UserRole
).
toString
().
isEmpty
();
...
...
src/plugins/qt4projectmanager/qtversionmanager.cpp
View file @
d8b2598f
...
...
@@ -125,11 +125,9 @@ QtVersionManager::QtVersionManager()
autodetectionSource
);
version
->
setMingwDirectory
(
s
->
value
(
"MingwDirectory"
).
toString
());
version
->
setMsvcVersion
(
s
->
value
(
"msvcVersion"
).
toString
());
#ifdef QTCREATOR_WITH_S60
version
->
setMwcDirectory
(
s
->
value
(
"MwcDirectory"
).
toString
());
version
->
setS60SDKDirectory
(
s
->
value
(
"S60SDKDirectory"
).
toString
());
version
->
setGcceDirectory
(
s
->
value
(
"GcceDirectory"
).
toString
());
#endif
m_versions
.
append
(
version
);
}
s
->
endArray
();
...
...
@@ -263,11 +261,9 @@ void QtVersionManager::writeVersionsIntoSettings()
s
->
setValue
(
"isAutodetected"
,
version
->
isAutodetected
());
if
(
version
->
isAutodetected
())
s
->
setValue
(
"autodetectionSource"
,
version
->
autodetectionSource
());
#ifdef QTCREATOR_WITH_S60
s
->
setValue
(
"MwcDirectory"
,
version
->
mwcDirectory
());
s
->
setValue
(
"S60SDKDirectory"
,
version
->
s60SDKDirectory
());
s
->
setValue
(
"GcceDirectory"
,
version
->
gcceDirectory
());
#endif
}
s
->
endArray
();
}
...
...
@@ -1218,7 +1214,6 @@ ProjectExplorer::ToolChain::ToolChainType QtVersion::defaultToolchainType() cons
return
possibleToolChainTypes
().
at
(
0
);
}
#ifdef QTCREATOR_WITH_S60
QString
QtVersion
::
mwcDirectory
()
const
{
return
m_mwcDirectory
;
...
...
@@ -1247,7 +1242,6 @@ void QtVersion::setGcceDirectory(const QString &directory)
{
m_gcceDirectory
=
directory
;
}
#endif
QString
QtVersion
::
mingwDirectory
()
const
{
...
...
src/plugins/qt4projectmanager/qtversionmanager.h
View file @
d8b2598f
...
...
@@ -83,14 +83,13 @@ public:
// Returns the PREFIX, BINPREFIX, DOCPREFIX and similar information
QHash
<
QString
,
QString
>
versionInfo
()
const
;
#ifdef QTCREATOR_WITH_S60
QString
mwcDirectory
()
const
;
void
setMwcDirectory
(
const
QString
&
directory
);
QString
s60SDKDirectory
()
const
;
void
setS60SDKDirectory
(
const
QString
&
directory
);
QString
gcceDirectory
()
const
;
void
setGcceDirectory
(
const
QString
&
directory
);
#endif
QString
mingwDirectory
()
const
;
void
setMingwDirectory
(
const
QString
&
directory
);
QString
msvcVersion
()
const
;
...
...
@@ -146,11 +145,10 @@ private:
bool
m_isAutodetected
;
QString
m_autodetectionSource
;
bool
m_hasDebuggingHelper
;
#ifdef QTCREATOR_WITH_S60
QString
m_mwcDirectory
;
QString
m_s60SDKDirectory
;
QString
m_gcceDirectory
;
#endif
mutable
bool
m_mkspecUpToDate
;
mutable
QString
m_mkspec
;
// updated lazily
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a 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