Commit Graph

109 Commits

Author SHA1 Message Date
dt
a741261f10 Fist set the display name then addBuildConfiguration on clone 2009-11-30 15:24:33 +01:00
dt
d6d48fa23c Some cleanup after BuildConfiguration refactoring 2009-11-30 15:24:32 +01:00
dt
a312206306 Move most of the BuildConfiguration specific functions
Note: I didn't fix all the connects and there are a few missing things.
This compiles, more work is coming.
2009-11-30 15:24:31 +01:00
dt
7904544b84 Remove BuildConfiguration::name()
The pointers can be used to distinguish BuildConfigurations
2009-11-30 15:24:31 +01:00
dt
60a1ee12ba Remove project() from BuildStep
The project() should in most cases not matter, instead the
BuildConfiguration should. This shows all the information that needs to
move into the BuildConfiguration classes.
2009-11-30 15:24:31 +01:00
dt
20214787d1 Add BuildConfiguration::restore and BuildConfiguration::project()
More API work.
2009-11-30 15:24:31 +01:00
dt
ae633c1956 Add BuildConfiguration classes
Each project has it's own BuildConfiguarion * classes, they'll get a
decent type safe interface and the setValue/value stuff will be removed.
2009-11-30 15:24:31 +01:00
dt
0d162be22f Make BuildSteps one instance per BuildConfiguration
Enables users to change which buildsteps get run per buildconfiguration.
Some further tweaks are probably necessary. This is a rather big
change, though it should work. :)
2009-11-19 16:36:48 +01: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
Friedemann Kleint
5948e284bb Rename namespace Core::Utils into Utils
Also move Designer::Internal::FormWindowEditor ->
Designer::FormWindowEditor.
2009-10-05 11:06:05 +02:00
Friedemann Kleint
c5633d0840 Warning/Compile 2009-10-01 14:56:29 +02:00
dt
0d8628a228 Missing return value. 2009-10-01 14:41:28 +02:00
con
9a0fb3431f Make it possible again to create new build config for generic projects 2009-10-01 10:05:06 +02:00
con
92b905a6f2 Build configuration factory now adds configurations directly.
It's easier this way for the unique naming.
2009-10-01 10:05:06 +02:00
con
382750c8a3 Remove Project::(set)Value(buildconfig, ...) methods.
Instead use the BuildConfiguration class methods directly.
2009-10-01 10:05:06 +02:00
con
acbd4513e3 Changing string based api to BuildConfiguration based api.
Builds, but I'm pretty sure it doesn't *work* :)
2009-10-01 10:05:05 +02:00
Friedemann Kleint
ad294f8467 Project explorer: Make public headers compile with NO_CAST_FROM_ASCII
.. and purge unneeded includes.
2009-09-29 11:39:55 +02:00
dt
fba7d76936 Canceling the wizard for a new cmake build configuration still created.
Made virtual newBuildConfiguration return a bool
2009-09-23 15:00:02 +02:00
Thorbjørn Lindeijer
a5b22b18bd Fixed problem with changing tool chain type for generic projects
Some fixes were needed after the tool chain type was changed from
QString to an enum.

Task-number: 259939
2009-08-25 09:51:16 +02:00
dt
ffe74d4447 Fix slot connections in the generic project manager. 2009-08-18 13:54:41 +02:00
hjk
93cbef8724 long live the king 2009-08-14 09:30:56 +02:00
Daniel Molkentin
365560c9c3 Identify tool chains via ToolChain::ToolChainType enum instead of by string
Reviewed-by: dt
2009-08-13 16:42:44 +02:00
dt
dbe5a6f34b Rework the project settings.
This has still a few missing things, but this enough to start getting
some feedback. Missing are non qt projects, a solution for the
runconfiguration, a missing black line between the treeview on top and
the project settings at the bottom. Some flickering with removing/adding
widgets to the QScrollArea and not showing the expanded widget if the
Details button is right at the bottom.
2009-08-06 15:31:32 +02:00
Friedemann Kleint
61123092ab Fixed compiler/lupdate/uic warnings.
Add missing Q_OBJECTS where tr() was used.
2009-07-29 09:11:37 +02:00
con
579fe76f66 Fix layout of generic projects' build settings. 2009-07-23 17:23:26 +02:00
dt
e524f52477 Allow restoreSettings() to fail,
E.g. cmake pops up a wizard then, the running of cmake can fail though.
Now you don't end i[ with a empty project then. The error reporting in
that case is not yet optimal.
2009-07-03 16:46:01 +02:00
Thorbjørn Lindeijer
ca1dd20036 Made sure the order of the file list is maintained when removing files
Converting to a QSet and back randomizes the order of the files. Just
doing a linear scan and a QSet for speading up the contains() check
should be enough and maintains the order.
2009-06-30 15:08:39 +02:00
Kevin Michel
b170e3ba87 Enable 'Remove file...' on Generic project
Merge-request: 783
Reviewed-by: Thorbjørn Lindeijer <thorbjorn.lindeijer@nokia.com>
2009-06-30 15:08:38 +02:00
Thorbjørn Lindeijer
b210943b0a Fixed a problem with adding files when final newline is missing
When there was no final newline in the .files file, the name of the
first new file would get appended to the name of the last file. This
patch fixes that by simply rewriting the whole file.

Also switched to writing out native line endings.
2009-06-29 18:46:33 +02:00
Kevin Michel
375d81166c Allow adding files in generic project
Merge-request: 736
Reviewed-by: Thorbjørn Lindeijer <thorbjorn.lindeijer@nokia.com>
2009-06-29 18:04:29 +02:00
con
07187e0a80 Custom signature support.
Not able to give it an additional passphrase yet, though.
2009-06-24 13:41:48 +02:00
Jason McDonald
884b7af769 Update license headers and sales contact details.
Reviewed-by: Trust Me
2009-06-17 00:01:27 +10:00
Thorbjørn Lindeijer
5d11453c1d Fixed relative include paths specified for the generic project
We forgot to convert them to absolute. Also removed two calls to
removeDuplicates, since the convertToAbsoluteFiles already does that.

Reviewed-by: Roberto Raggi
2009-06-09 17:21:27 +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
Friedemann Kleint
5150089738 Fixed translation glitches. 2009-05-13 14:39:55 +02:00
dt
a2c7d3172f Wrong dependency on help plugin in the ProjectExplorer 2009-04-29 11:25:29 +02:00
Friedemann Kleint
472e25025f Start on the German (prototypical) translation. 2009-04-08 16:35:56 +02:00
Thorbjørn Lindeijer
71aeac5915 Use completeBaseName instead of baseName where appropriate
Fixes issues with handling additional dots in the filename in many
places.

Task: 246390
2009-03-20 17:04:23 +01:00
Thorbjørn Lindeijer
cc995d13ee Allow updating of configuration or file list separately
Now it will only update the list of files when you edit [project].files,
and only reparse all files when you edit [project].config or
[project].includes. When updating the file list it will only parse the
added files.
2009-03-19 18:08:16 +01:00
Thorbjørn Lindeijer
9c8f4e30a7 Allow specifying the name of a new generic project
The name is used as the base for files like [project].creator,
[project].files, etc. and is displayed in the Projects mode and the
Projects tree.
2009-03-19 18:08:16 +01:00
Thorbjørn Lindeijer
78d603adec Use the make command defined by the tool chain
For now only for GenericProject, since the CMakeProject doesn't have the
right tool chain set on Windows yet.

Reviewed-by: dt
2009-03-18 14:35:35 +01:00
Thorbjørn Lindeijer
3904b2ad3e Class name simplification for MakeStep related classes
Was a bit confusing that a MakeStep was constructed by a
MakeBuildStepFactory and configured by a MakeBuildStepConfigWidget.

The MakeStep of the generic project manager was renamed to
GenericMakeStep.
2009-03-18 13:55:13 +01:00
Thorbjørn Lindeijer
93b3dda602 Fixed member variable prefix to be in line with coding standards 2009-03-18 12:20:06 +01:00
Thorbjørn Lindeijer
9e700af42f Fixed updating of defines after editing the .config file
Reviewed-by: Roberto Raggi
2009-03-18 11:36:39 +01:00
Roberto Raggi
e0d91157fc Update the project 2009-03-16 12:52:22 +01:00
Roberto Raggi
f7812edfe1 Update the project. 2009-03-16 12:42:16 +01:00
Roberto Raggi
af29d0608e --debug 2009-03-16 12:16:10 +01:00
Roberto Raggi
f9308dcc05 Fixed the wizard and removed some obsolete code. 2009-03-16 12:13:00 +01:00
Roberto Raggi
e10bda6f9a Create nodes for the project files. 2009-03-16 11:49:57 +01:00
Roberto Raggi
7c537a81ff Introduced editors for .files and .includes files. 2009-03-16 11:35:54 +01:00