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
7aaaa750
Commit
7aaaa750
authored
Sep 09, 2010
by
Marco Bubke
Browse files
Add breakpad
This is not activated if breakpad and qt-breakpad is not availiable.
parent
3e152fc8
Changes
4
Hide whitespace changes
Inline
Side-by-side
src/app/app.pro
View file @
7aaaa750
...
...
@@ -9,6 +9,10 @@ SOURCES += main.cpp
include
(..
/
rpath
.
pri
)
QT_BREAKPAD_ROOT_PATH
=
$$
(
QT_BREAKPAD_ROOT_PATH
)
!
isEmpty
(
QT_BREAKPAD_ROOT_PATH
)
{
include
(
$$
QT_BREAKPAD_ROOT_PATH
/
qtbreakpad
.
pri
)
}
win32
{
CONFIG
(
debug
,
debug
|
release
)
:
LIBS
*=
-
lExtensionSystemd
-
lAggregationd
else
:
LIBS
*=
-
lExtensionSystem
-
lAggregation
...
...
src/app/main.cpp
View file @
7aaaa750
...
...
@@ -49,6 +49,10 @@
#include
<QtGui/QApplication>
#include
<QtGui/QMainWindow>
#ifdef ENABLE_QT_BREAKPAD
#include
<qtsystemexceptionhandler.h>
#endif
enum
{
OptionIndent
=
4
,
DescriptionIndent
=
24
};
static
const
char
*
appNameC
=
"Qt Creator"
;
...
...
@@ -180,6 +184,10 @@ int main(int argc, char **argv)
SharedTools
::
QtSingleApplication
app
((
QLatin1String
(
appNameC
)),
argc
,
argv
);
#ifdef ENABLE_QT_BREAKPAD
QtSystemExceptionHandler
systemExceptionHandler
;
#endif
QTranslator
translator
;
QTranslator
qtTranslator
;
QString
locale
=
QLocale
::
system
().
name
();
...
...
src/plugins/plugins.pro
View file @
7aaaa750
...
...
@@ -46,7 +46,6 @@ contains(QT_CONFIG, declarative) {
include(../private_headers.pri)
exists($${QT_PRIVATE_HEADERS}/QtDeclarative/private/qdeclarativecontext_p.h) {
SUBDIRS += plugin_qmldesigner
} else {
warning()
warning("QmlDesigner plugin have been disabled")
...
...
src/tools/tools.pro
View file @
7aaaa750
TEMPLATE
=
subdirs
win32
:
SUBDIRS
=
qtcdebugger
SUBDIRS
+=
qml
QT_BREAKPAD_ROOT_PATH
=
$$
(
QT_BREAKPAD_ROOT_PATH
)
!
isEmpty
(
QT_BREAKPAD_ROOT_PATH
)
{
SUBDIRS
+=
qtcrashhandler
}
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