Commit Graph

71 Commits

Author SHA1 Message Date
hjk
9595504bda Long live the king! 2010-03-05 11:28:13 +01:00
Tobias Hunger
2526ea70ad Remove useless forward declaration 2010-02-17 17:13:22 +01:00
Tobias Hunger
c93e96305f Make target detection not depend on toolkit 2010-02-11 18:04:22 +01:00
Tobias Hunger
d1bdfcc363 Integrate target support
* Ease cross device development by introducing 'targets' which
   group build- and runsettings that are valid for this one target

 Most of the kudos for the code review go to dt. Con, thorbjorn,
 ckandler and others did also review parts of this patch.

Reviewed-by: dt
2010-02-09 16:57:37 +01:00
dt
e3188417c3 Don't silently reset the qt version if it has become invalid
Instead note that it is invalid if trying to build and on the projects
mode pane.

Task-Nr: QTCREATORBUG-459
2010-01-12 15:51:11 +01:00
Tobias Hunger
a6ad773722 Make method naming more consistent.
* Use id() for methods returning a string used to represent
    some type of object.
  * Use displayName() for strings that are meant to be user
    visible.
  * Quieten some warnings while touching the files anyway.
  * Move Factories to their products in the plugins where that
    was not done before.

Reviewed-by: dt
2010-01-07 18:17:24 +01:00
ck
dedea5ea19 Move Q_DECLARE_OPERATORS_FOR_FLAGS out of namespaces.
If this macro is used inside a namespace, it hides global operators.

Reviewed-by: hjk
2010-01-07 13:53:48 +01:00
dt
0a1c780241 Fixes EnvironmentEditWidget editing variable names
Don't loose focus, don't loose the current index.
Implemented in a not really good way. The model emits a signal after
renaming, which the view respsonds to by setting focus/currentIndex
correctly.
2009-12-10 17:58:35 +01:00
dt
1e46cb424e Rework connections on the project pane for Qt4Projects.
Should fix a lot of corner cases, might introduce a few bugs.
Also rename functions/slots to be better named.

Generic Project Manager and CMake Project Manager are missing from this
patch.
2009-12-07 15:00:17 +01:00
dt
ab038986a2 Compile 2009-11-19 16:35:20 +01:00
dt
0fa60aa3d8 Use QFlags<> for QmakeBuildConfig that removes a few casts. 2009-11-19 16:35:19 +01:00
dt
10a0647ddf Remove QSharedPointer<> for RunConfiguration 2009-11-19 16:35:18 +01:00
con
43bccb41ed Merge commit 'origin/1.3'
Conflicts:
	src/plugins/debugger/debuggermanager.h
	src/plugins/qmleditor/qmleditorplugin.cpp
	src/plugins/qt4projectmanager/qt4runconfiguration.cpp
2009-11-11 16:14:29 +01:00
dt
75e23cc58f Fix -spec handling 2009-11-10 13:29:13 +01:00
con
d8b2598f4f Symbian SDK path should be editable for Qt in PATH.
Reviewed-by: Robert Loehning
2009-11-09 14:19:58 +01:00
con
be3fafc311 Merge commit '2be0845c7492ad991f23ce5c90c322df788b62b5'
Conflicts:
	src/plugins/projectexplorer/projectexplorer.h
	src/plugins/qt4projectmanager/qt4projectconfigwidget.cpp
	src/plugins/qt4projectmanager/qt4runconfiguration.cpp
	src/plugins/qt4projectmanager/qtversionmanager.cpp
2009-10-29 18:54:17 +01:00
con
4fc6a17d94 Add setting for GCCE tool chain path. 2009-10-29 16:02:20 +01:00
con
68f193a189 Merge commit 'origin/1.3'
Conflicts:
	src/plugins/debugger/gdb/gdbengine.cpp
Needed changes:
        src/plugins/qt4projectmanager/qtversionmanager.cpp
2009-10-27 18:23:58 +01:00
Friedemann Kleint
33fedfea64 Qt4ProjectManager: Give a verbose tooltip on the Qt versions.
Reviewed-by: dt <qtc-committer@nokia.com>
2009-10-27 18:05:04 +01:00
con
7c12dad4a0 Make it possible to use non-autodetected Qt for Symbian.
Users can specify a S60 SDK root for Qt for Symbian versions
now.
2009-10-27 18:01:21 +01:00
con
441ece365a Merge commit 'origin/1.3'
Conflicts:
	src/plugins/cpptools/cppcodecompletion.h
	src/plugins/debugger/gdb/gdbengine.cpp
	src/plugins/qmleditor/QmlEditor.pluginspec
2009-10-26 13:51:56 +01:00
dt
8a9d4315e6 Fix crash by sharing ownership of the toolchains in qtversion 2009-10-22 17:09:28 +02:00
dt
cfc7040ede The qtversions's toolchain now depends on the actual compiler not mkspec
That is we actually parse the mkspec and evaluate QMAKE_CXX (and a few
other variables) to figure out the correct mkspec. This makes using
custom mkspecs easier and is also cleaner. I also changed mkspec() and
mkspecPath() to behave a little diffrent, essentialy mkspec() will
return only the name (the actual dir name) of the mkspec. That is in
general not sufficient for passing on to qmake. mkspecPath() only
returns the correct path to mkspecs/default.
Hopefully I haven't broken WinCE/Maemo/MinGW.
2009-10-22 14:39:00 +02:00
Daniel Molkentin
c31795cb89 Consistant naming with implementation. 2009-10-22 14:24:16 +02:00
dt
53cfbb13a7 Initialize everything also in the invalid QtVersion ctor. 2009-09-03 19:45:09 +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
con
85cdc9b402 Show the "real" name of the default version in build settings.
Reviewed-by: dt
2009-08-26 15:57:57 +02:00
hjk
93cbef8724 long live the king 2009-08-14 09:30:56 +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
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
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
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
6b3ef9f818 Parametrize metroworks tools path. 2009-06-24 13:41:37 +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
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
dt
8161acac8b Fix crash introduced by actualy freeing memory.
Reviewed-By: con
2009-06-05 11:16:09 +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
da91a04878 Poor QtVersionManager has one friend less. 2009-05-28 12:05:09 +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
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
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