Commit Graph

13 Commits

Author SHA1 Message Date
Sune Vuorela
d70bdaf450 Make Qt Creator build with -Werror=date-time
As a part of making the Qt Creator build reproducible, ensure that the
build time isn't by default encoded into the binaries.

Change-Id: I92bc3c2e832d5397bc1e2599214ef3ba911fed0b
Reviewed-by: Eike Ziller <eike.ziller@theqtcompany.com>
2015-02-13 16:58:39 +00:00
Eike Ziller
3c85058694 Update License
Change-Id: I711d5fb475ef814a1dc9d2822740e827f3f67125
Reviewed-by: Alessandro Portale <alessandro.portale@digia.com>
2015-01-16 12:37:56 +01:00
Eike Ziller
8295b503be License update
Change-Id: I3c22ef2685d7aa589f5d0ab74d693653a4c32082
Reviewed-by: Alessandro Portale <alessandro.portale@digia.com>
2014-10-09 11:41:44 +02:00
Robert Loehning
746c5d8863 Incremented year in copyright info
Change-Id: Ib5423fdd064e4546f848c0b640b0ed0514c26d3a
Reviewed-by: Leena Miettinen <riitta-leena.miettinen@digia.com>
Reviewed-by: Kai Koehne <kai.koehne@digia.com>
2014-01-08 08:29:47 +01:00
Friedemann Kleint
119548a0ff Remove most leading/trailing blanks from translated messages.
They are a hassle for translators and reviewers alike.

Change-Id: I363138212b692cf75fe1605df8af3721315d37e1
Reviewed-by: hjk <hjk121@nokiamail.com>
2013-10-24 10:50:56 +02:00
Nikolai Kosjar
5402b8912c CrashHandler: Opt-in instead of Opt-out
Enable the crash handler by defining the environment variable
QTC_USE_CRASH_HANDLER=1 (evaluated on start up).

Change-Id: Ib7f9fa016ab24a15082fbd90fd334bd4f2b17234
Reviewed-by: Eike Ziller <eike.ziller@digia.com>
Reviewed-by: Christian Kandeler <christian.kandeler@digia.com>
2013-05-24 09:02:35 +02:00
Nikolai Kosjar
f1b358562c CrashHandler: Allow to deactivate the Crash Handler
...by adding QTC_NO_CRASH_HANDLER=1 to the run environment.

This is important for nightly tests since these should be able to create
a core dump file.

Change-Id: Id858b64f00315def6b4f32de972b167a293be245
Reviewed-by: Christian Kandeler <christian.kandeler@digia.com>
Reviewed-by: hjk <hjk121@nokiamail.com>
2013-04-02 14:12:28 +02:00
Friedemann Kleint
5ee3a90c15 Fix Krazy warnings about includes/header guards in crash handler.
Change-Id: I83a4600199332489ae8d4a6833be95b6b8937d2d
Reviewed-by: Nikolai Kosjar <nikolai.kosjar@digia.com>
2013-03-12 16:19:17 +01:00
Robert Loehning
a040424d2a Incremented year in copyright info
Change-Id: Ia11f4d7a94465de7f12cc390855e54e3256e5455
Reviewed-by: Kai Koehne <kai.koehne@digia.com>
2013-02-01 09:19:26 +01:00
Nikolai Kosjar
4a91102306 CrashHandler: Display signal causing the crash.
Change-Id: Ib6bb04b8e70bbe99e6517536a62c80a920a2ea01
Reviewed-by: hjk <qthjk@ovi.com>
2012-10-22 17:22:26 +02:00
Tobias Hunger
3b80507af3 License changes
Change-Id: Ie8d2adaa2b20473d2e3e16d1f44ad951ff2744be
Reviewed-by: Eike Ziller <eike.ziller@digia.com>
2012-10-09 12:23:22 +02:00
Nikolai Kosjar
e186f9b257 CrashHandler: Add "Attach and Debug" button.
This will launch a new instance of Qt Creator attaching to the crashed
instance.

The 'Restart' functionality is now represented as a check box since it
would be confusing to have one button that restarts the app and quits
the crash handler and another one that starts a debugger but keeps the
crash handler open (which is necessary, otherwise the crashed app will
quit).

Change-Id: Id88f418ff73ab7bc72b05753ce2b61bbef8f30cf
Reviewed-by: Christian Kandeler <christian.kandeler@digia.com>
2012-10-08 16:41:20 +02:00
Nikolai Kosjar
903281b352 Linux: Add a crash handler providing a backtrace for debug builds.
Use case: You're working with a debug version of Qt Creator and you're
interested in getting a backtrace displayed as soon as Qt Creator
crashes without searching for the core file, starting your debugger, ...

Once a 'serious signal' (currently SIGILL, SIGFPE, SIGSEGV, SIGBUS,
SIGPIPE) is delivered, a popup displays the following debug information:

 - Qt Creator version (same as in the about dialog)
 - Kernel version (uname -a)
 - GNU/Linux Distribution (/etc/lsb-release)
 - Backtrace (by gdb)

Please note that this crash handler is built and used only in debug mode
on GNU/Linux. It's solely meant as a convenience tool for the developer.

In contrast to the breakpad integration, this crash handler operates
'offline'. There is no network i/o involved.

Change-Id: Idcfb1bf1ad68942615ecfe0dffc0d03154455049
Reviewed-by: Christian Kandeler <christian.kandeler@digia.com>
Reviewed-by: hjk <qthjk@ovi.com>
2012-09-21 15:57:41 +02:00