Commit Graph

95 Commits

Author SHA1 Message Date
hjk
93cbef8724 long live the king 2009-08-14 09:30:56 +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
1010ea5251 Fix another spec not equal bug, squash another case where qmake was run. 2009-08-06 18:49:10 +02:00
con
fe92b40f45 Start on rvct support.
It works, except that the code model doesn't get the rvct include
directories and defines yet. And you need to have everything for
rvct set up in your environment.
2009-08-05 17:08:15 +02:00
Oswald Buddenhagen
2a4ef827a9 inject QT_VERSION into the evaluator
almost too simple to be right, given the TODO ...
2009-08-04 20:59:28 +02:00
dt
027a19841d Make the debugging output less and better. 2009-07-29 12:47:10 +02:00
Daniel Molkentin
5633de2ac9 Make the welcome screen into plugins.
This removes the all hard dependencies to and from welcome screen,
except the one to the core plugin. More in detail:

- Add IWelcomePage to add a tab to the welcome screen
- Move tabs in the modules where they belong
- Enables QHelpManager to open help fullscreen and contextually
- "Getting Started" moves to Qt4ProjectManager
- Projects & Sessions (aka "Develop") moves to ProjectExplorer
- "Community" remains in the welcome plugin for simplicity
2009-07-28 16:11:55 +02:00
con
80705c163f Find examples also with shadow built Qt developer build.
Reviewed-by: Daniel Molkentin
2009-07-27 12:28:59 +02:00
dt
ae63443715 On windows the #Command line is escaped with quotes 2009-07-23 14:00:45 +02:00
dt
f1dfb3c6ce Merge branch 'master' of git@scm.dev.nokia.troll.no:creator/mainline 2009-07-22 19:18:09 +02:00
dt
cd27fdecd9 Parse the Makefile in the importing case a lot better
We add each command line argument to the Additional Arguments
2009-07-22 16:52:44 +02:00
Daniel Molkentin
f8f0c4ce44 Move Welcome Page to separate plugin. 2009-07-21 13:58:27 +02:00
Daniel Molkentin
6446b87992 Update Example information not only when the default Qt version changed.
It may be that a non-default Qt version provides documentation even if
the default one does not.

Fixes: 257970
2009-07-20 14:26:17 +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
con
151366dffa isQt64Bit is a better name.
Since that method actually checks if Qt is built 64bit,
not if MSVC is 64bit.
2009-07-14 15:30:04 +02:00
con
a9d05dab62 Move tool chain object from Qt version to project. 2009-06-24 13:41:48 +02:00
con
66c2c7c18b Add the environment from the right tool chain.
Since the actual tool chain is defined in the project, it
moved there from the qt version.
2009-06-24 13:41:42 +02:00
con
a3a7c27d5d Make QtVersion's toolchain variable.
QtVersion provides possible toolchains that can be used by the
Qt version, e.g. winscw, gcce and armv5 for symbian-abld.
2009-06-24 13:41:39 +02:00
con
7bec2253c9 gcce toolchain needs default make target dependent on debug/release.
Passing the Project to the tool chain now. Not quite sure if I like it.
2009-06-24 13:41:38 +02:00
con
6b3ef9f818 Parametrize metroworks tools path. 2009-06-24 13:41:37 +02:00
con
02fb12d74d Add toolchain for WinScw, and be able to compile for winscw udeb. 2009-06-24 13:41:32 +02:00
con
a81b79fe9e Add Qt versions detected from Symbian SDKs 2009-06-24 13:36:10 +02:00
con
55d58f4a1d Add a "autodetectionSource" that allows to differentiate.
Will be used to find the "Qt in PATH" and "Qt from Symbian" versions.
2009-06-24 13:36:09 +02:00
con
db9d1d42f4 isSystemVersion property to isAutodetected property 2009-06-24 13:36:09 +02:00
con
2a101e53c0 Different sections for auto-detected and manual Qt versions. 2009-06-24 13:36:08 +02:00
Jason McDonald
884b7af769 Update license headers and sales contact details.
Reviewed-by: Trust Me
2009-06-17 00:01:27 +10:00
Daniel Molkentin
de333ba02d No need to pass non-required parameters around.
Reviewed-by: dt
2009-06-12 15:11:40 +02:00
Daniel Molkentin
109b9d8e47 Remove a superflouos else-statement that triggered a bug
Reviewed-by: kh
2009-06-08 17:39:15 +02:00
dt
8161acac8b Fix crash introduced by actualy freeing memory.
Reviewed-By: con
2009-06-05 11:16:09 +02:00
dt
c13d711657 Fix leaking a toolchain per QtVersion.
Reviewed-By: ossi
2009-06-04 15:17:20 +02: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
Daniel Molkentin
3f7b3df9f9 Remove debug output 2009-06-02 17:25:40 +02:00
Daniel Molkentin
99fb291695 welcome screen: populate example combobox
When an example is selected, help and the project are opened
in a split view. We try to read the xml file provided for
QtDemo to extract details about the examples provided. Will
try all available Qts, starting with the default version. Will
fail gracefully (provide a message and disable controls) if
examples or demos cannot be found. Will work if help is not
found, but show an error.
2009-05-29 20:38:38 +02:00
con
6d3571d930 Broken "instance" method for QtVersionManager. 2009-05-27 18:45:00 +02:00
dt
19d3131ef6 Refactor the code for the environment setting gui out into a own class
Makes it possible to reuse that code, which I intend to do for cmake and
running.
2009-05-27 14:57:57 +02:00
dt
37a9e2bd58 Add a QtVersion::toolChain() method, replacing Qt4Project::toolChain()
Makes the code nicer, we use the ProFileReader to parse the mkspec.
2009-05-25 16:43:50 +02:00
Friedemann Kleint
7e1445368e Fixed MinGW compilation. 2009-05-22 08:43:05 +02:00
Friedemann Kleint
19663fee41 Added 'Open with ->Qt Designer' in Project Explorer.
Added IExternalEditor which knows a kind and a mimetype.
Make EditorManager and ProjectExplorer "Open With" query
the interface and add the respective kinds.
Add "openExternalEditor" to EditorManager.
Add External editors for Designer and Linguist,
making use of Mac 'open' or Designer's Tcp socket mechanism
to ensure files are opened in the same instance (per Qt version).

Task-number: 249392
Reviewed-by: con <qtc-committer@nokia.com>
2009-05-19 14:54:52 +02:00
Daniel Molkentin
55029f41fb Show the proper state of the debugging helper. 2009-05-18 15:02:42 +02:00
Daniel Molkentin
159056058d Add support for AMD64 compilers for MSVC.
At this point, compiling projects and debugger helpers works.
The speciality with this is that Qt does not provide distinct
mkspecs, because MSVC draws the line between 32 and 64 bit
solely by the environment.
2009-05-18 15:02:41 +02:00
dt
af199594a6 Adds dynamic ui completion. Wohoo :)
This means, creating a new project, we immediately have completion for
the ui file. Also adding stuff to the ui file now changes the codemodel
immediately.

Yet todo, are tests under windows and suppressing a warning if the form
contains a toplevel spacer.
2009-05-12 14:46:11 +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
dt
8f22417244 Refactoring: Move QtVersionManager to ProjectExplorer.
The Debugger, cmake and Qt4 plugin all need it. More refactoring to it
coming.
2009-04-22 14:52:35 +02:00
Oswald Buddenhagen
6d5eeb7afb add missing tr()s, etc., add some //: comments 2009-04-20 16:51:10 +02:00
hjk
01284f2160 debugger: use & in "p (char*)&qDumpOutBuffer". This improves the
situation in release builds a bit as we get at least a list of
(afterwards failing) dumpers.
2009-04-17 15:35:28 +02:00
con
412a4b027d Merge commit 'origin/1.1'
Conflicts:
	src/plugins/debugger/debuggeractions.cpp
	src/plugins/debugger/gdboptionpage.ui
2009-04-17 15:17:31 +02:00
dt
dec4acdbf2 Run make clean on clicking rebuild for the debugging helper library. 2009-04-16 17:12:19 +02:00
Alessandro Portale
7a0baf65e7 Don't annoy Windows users with alien dir separators 2009-04-15 19:07:25 +02:00