Commit Graph

35 Commits

Author SHA1 Message Date
Tobias Hunger
f5c044fe48 Move ProjectExplorer::Environment to Utils::Environment
Reviewed-by: dt
2010-09-23 13:40:26 +02:00
Friedemann Kleint
97e7c12e3c Code polishing, continuing cb23999fbf
Add more error messages to processes run for toolchain detection.
Move Windows-specific code to dbgwinutils, remove inclusion of
<windows.h>. Fix MinGW gcc 4.5 warnings.
2010-09-09 09:58:17 +02:00
Friedemann Kleint
cb23999fbf Add error handling to QProcesses run at startup.
Give warnings about failures to be able to fix things/timeouts on
slow machines. Pass on arguments correctly on Windows.
Make sure processes are killed on timeouts.
2010-09-08 15:22:58 +02:00
con
4245b4ab44 Pick up the newest debugging helper from the possible locations.
Otherwise "rebuilding" the debugging helper doesn't necessarily lead to
Qt Creator picking up the new one (some of the locations can be
read-only).

Reviewed-by: dt
2010-07-05 13:22:46 +02:00
Leandro Melo
72c74b7d5a Bug fix: Late crash when closing Creator while building debugging helper (QTCREATORBUG-1576).
Reviewed-by: hjk
2010-06-08 14:00:57 +02:00
kh1
e9d1841552 Make sure we can compile the debugging help for maemo.
This boils down to the same problem as other calls to qmake, if we don't
pass the target mode, qmake will prepend the current platform as target.
Reviewed-by: dt
2010-05-21 14:43:18 +02:00
hjk
9595504bda Long live the king! 2010-03-05 11:28:13 +01:00
Friedemann Kleint
81f14bb270 Fix some code scanning issues.
QString: Use QChar/char where appropriate, do not use QString::null
2010-02-02 17:09:41 +01:00
Tobias Hunger
592e494d1a Fix typos
Reviewed-by: thorbjorn
2010-01-11 10:26:13 +01:00
con
9b93e5e353 Merge branch 'master' of scm.dev.nokia.troll.no:creator/mainline
Conflicts:
	src/plugins/coreplugin/outputpane.h
2009-12-14 14:46:43 +01:00
dt
a755717649 In the EnvironmentWidget show which environment is the base.
Task-Nr: QTCREATORBUG-277
2009-12-14 13:40:17 +01:00
con
7081a3d415 Merge remote branch 'origin/1.3'
Conflicts:
	src/plugins/projectexplorer/outputwindow.cpp
2009-12-14 11:47:39 +01:00
con
8f586cedcd Couldn't set "/usr/bin/qmake-4.6" or "/Developer/Tools/Qt/qmake" for Qt.
Task-number: QTCREATORBUG-463
Reviewed-by: dt
2009-12-11 17:03:19 +01:00
con
c718095c28 Merge commit 'origin/1.3'
Conflicts:
	src/plugins/debugger/gdb/gdbengine.cpp

Reviewed-by: Oswald Buddenhagen
2009-11-16 11:35:47 +01:00
dt
9f2940297f Pretend that the gdbmacros.cpp is actually 5 minutes older then it is.
Fixes a bug that after package installation the debugging helpers are
sometimes marked as invalid.

Reviewed-By: hjk
2009-11-12 18:21:20 +01:00
dt
75e23cc58f Fix -spec handling 2009-11-10 13:29:13 +01:00
dt
835d522ac2 Don't pass QtVersion::mkspec() to the building of debugging helpers.
Instead simply pass -mkspec default, which has the same effect.
Fixes a bug with qws mkspecs
2009-11-02 17:25:10 +01:00
kh1
5384434dce We cannot hardcode the type of debug library, so check for all.
While cross compiling from windows to maemo we build the debug helper as
.so instead of .dll, though the ifdef would always make the question
about the helpers being build return false.

Reviewed-by: dt
2009-10-29 12:04:43 +01:00
dt
7e492011c2 Check the Debugging helper modification date corrrectly for outdated. 2009-09-21 16:33:27 +02:00
dt
4f2c48821c Treat outdated as missing. 2009-09-17 15:55:08 +02:00
dt
f04cd91c6b Simplyfy the DebuggingHelper functions.
By only providing a qtInstallDir variant
2009-09-17 15:55:08 +02:00
dt
744eb55df2 Remove unneded qtDir() function in DebuggingHelper 2009-09-17 15:55:08 +02:00
Daniel Molkentin
9960bea83d Remove debugging. 2009-09-04 09:51:23 +02:00
Daniel Molkentin
5476bcf560 Find Qt installation by specification of qmake rather than a "Qt dir".
Rationale: The concept of a "Qt Dir" is dead ever since Qt can be
installed. Specifying the qmake location otoh makes it possible to
unambigously detect all parts of a Qt installation.
2009-09-03 19:16:40 +02:00
hjk
93cbef8724 long live the king 2009-08-14 09:30:56 +02:00
Friedemann Kleint
3ccb44157f Fixed building debugging helpers: Added missing gdbmacros_p.h 2009-08-07 15:22:51 +02:00
Friedemann Kleint
1729c2c0c2 Debugger: Improve the helper build mechanism on the settings page.
- Give the controls a tooltip listing file details (date)
- Make building a QtConcurrent task
- Make log window scroll to bottom and pop up on error
- Make the build code pass on error messages about copying the
  source files to the log file
- Clean up the building code string-wise, use QLatin1String and
  translate messages, cache the icons. Use a QSharedPointer for
  the QtVersions in the settings page since they are passed to
  the BuildTask, which may outlive the dialog.
2009-08-07 15:20:05 +02:00
Friedemann Kleint
2841e875b4 Revert "Debugger: Improve the helper build mechanism on the settings page."
This reverts commit debb3961c2.
Success cannot be properly detected.
2009-08-07 14:20:27 +02:00
Friedemann Kleint
debb3961c2 Debugger: Improve the helper build mechanism on the settings page.
- Give the controls a tooltip listing file details (date)
- Make building a QtConcurrent task
- Make log window scroll to bottom and pop up on error
- Make the build code pass on error messages about copying the
  source files to the log file
- Clean up the building code string-wise, use QLatin1String and
  translate messages, cache the icons
2009-08-07 14:10:36 +02:00
dt
54bbcc4a7c Mention possible locations of the debugging helper in the error dialog
Requires a lot of trivial forwarding.
2009-07-15 17:41:45 +02:00
dt
e90696686c Check for a Makefile before running make clean in the debugging helper
directory

Fixes smart make scripts that try to guess the correct working directory
for make.
2009-07-01 16:33:25 +02:00
Jason McDonald
884b7af769 Update license headers and sales contact details.
Reviewed-by: Trust Me
2009-06-17 00:01:27 +10:00
Oswald Buddenhagen
d2a8449bea ifdef Q_?S_* cleanup
- clear up some Q_OS_LINUX vs. Q_OS_UNIX
- clear up Q_WS_* vs. Q_OS_* (relatively theoretical exercise)
- use proper #if-#else cascades instead of free-standing #ifs
2009-06-03 20:54:59 +02:00
dt
dd1ae2a9c5 Maybe fix a bug that hjk found. 2009-05-12 14:43:31 +02:00
dt
2b302332b8 Move QtVersionManager, QtVersion and QtOptionsPage back
After all I don't need all that stuff in the cmakeplugin, all i needed
is now bundled in debugginghelper.h/cpp
2009-04-28 12:45:04 +02:00