Skip to content
GitLab
Menu
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
b2624729
Commit
b2624729
authored
Oct 06, 2009
by
Daniel Molkentin
Browse files
Centralize S60 check, also use it for adding the GDB TRK page.
parent
ff0cb8fa
Changes
4
Show whitespace changes
Inline
Side-by-side
qtcreator.pri
View file @
b2624729
...
...
@@ -108,3 +108,7 @@ linux-g++-* {
# to prevent checking in code that does not compile on other platforms.
QMAKE_LFLAGS += -Wl,--allow-shlib-undefined -Wl,--no-undefined
}
# Handle S60 support: default on Windows, conditionally built on other platforms.
win32:SUPPORT_QT_S60=1
else:SUPPORT_QT_S60 = $$(QTCREATOR_WITH_S60)
src/plugins/debugger/gdb/gdb.pri
View file @
b2624729
include(../../../shared/trk/trk.pri)
!isEmpty(SUPPORT_QT_S60) {
message("Adding experimental support for Qt/S60 applications.")
DEFINES += QTCREATOR_WITH_S60
}
HEADERS += \
$$PWD/gdbmi.h \
$$PWD/gdbengine.h \
...
...
src/plugins/debugger/gdb/gdbengine.cpp
View file @
b2624729
...
...
@@ -4227,8 +4227,9 @@ void GdbEngine::handleAdapterShutdownFailed(const QString &msg)
void
GdbEngine
::
addOptionPages
(
QList
<
Core
::
IOptionsPage
*>
*
opts
)
const
{
opts
->
push_back
(
new
GdbOptionsPage
);
if
(
!
qgetenv
(
"
QTCREATOR_WITH_S60
"
).
isEmpty
())
#ifdef
QTCREATOR_WITH_S60
opts
->
push_back
(
new
TrkOptionsPage
(
m_trkAdapter
->
options
()));
#endif
}
void
GdbEngine
::
showMessageBox
(
int
icon
,
const
QString
&
title
,
const
QString
&
text
)
...
...
src/plugins/qt4projectmanager/qt-s60/qt-s60.pri
View file @
b2624729
win32:SUPPORT_QT_S60=1
else:SUPPORT_QT_S60 = $$(QTCREATOR_WITH_S60)
!isEmpty(SUPPORT_QT_S60) {
message("Adding experimental support for Qt/S60 applications.")
DEFINES += QTCREATOR_WITH_S60
...
...
Write
Preview
Supports
Markdown
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