Skip to content
Snippets Groups Projects

Compare revisions

Changes are shown as if the source revision was being merged into the target revision. Learn more about comparing revisions.

Source

Select target project
No results found
Select Git revision

Target

Select target project
  • tohunger/qt-creator
1 result
Select Git revision
Show changes
Commits on Source (126)
Showing
with 179 additions and 15 deletions
Qt Creator 1.3.84 Qt Creator 2.0.0
=============== ===============
Qt Creator is a crossplatform C++ IDE for development with the Qt framework. Qt Creator is a crossplatform C++ IDE for development with the Qt framework.
...@@ -26,6 +26,12 @@ cd $BUILD_DIRECTORY ...@@ -26,6 +26,12 @@ cd $BUILD_DIRECTORY
qmake $SOURCE_DIRECTORY/qtcreator.pro qmake $SOURCE_DIRECTORY/qtcreator.pro
make (or mingw32-make or nmake or jom, depending on your platform) make (or mingw32-make or nmake or jom, depending on your platform)
Qml Support
-----------
Define the QTCREATOR_WITH_QML environment variable to enable Qml support
(before running qmake).
QmlDesigner, QmlInspector require private headers QmlDesigner, QmlInspector require private headers
------------------------------------------------- -------------------------------------------------
......
...@@ -17,7 +17,7 @@ General ...@@ -17,7 +17,7 @@ General
of Qt creator of Qt creator
* Added option to set interface language explicitly, overriding the locale * Added option to set interface language explicitly, overriding the locale
setting setting
* New "Design" mode for visual editors (.ui & .qml files) * New "Design" mode for visual editors
* Fixed crash when working with empty pro-file * Fixed crash when working with empty pro-file
* Ask for close, save, or save as when file is removed while open in Qt Creator * Ask for close, save, or save as when file is removed while open in Qt Creator
* Use shadowbuilding by default in new projects whenever possible * Use shadowbuilding by default in new projects whenever possible
...@@ -36,6 +36,11 @@ Editing ...@@ -36,6 +36,11 @@ Editing
the syntax highlighting. the syntax highlighting.
* Block selection defines a find & replace scope * Block selection defines a find & replace scope
* Added customizable default file encoding (in addition to the project setting) * Added customizable default file encoding (in addition to the project setting)
* Added syntax highlighting for CMake project files
* Fixed .pro files being reformatted if files have been added or removed.
In addition, whitespace is preserved
* Fixed the file system sidebar to update automatically
* Fixed updating code completion for generated UI header files
CodePaster CodePaster
* Implemented new protocol of pastebin.com including list functionality * Implemented new protocol of pastebin.com including list functionality
...@@ -55,6 +60,9 @@ Project support ...@@ -55,6 +60,9 @@ Project support
* Allow changing the build environment for Generic Projects * Allow changing the build environment for Generic Projects
* Added context menu options to open file manager or terminal in a files * Added context menu options to open file manager or terminal in a files
directory directory
* Fixed the DEFINES and INCLUDES set in .pro files to be dealt with
on a file-specific level and enabled the handling of DEFINES.
Also, the .qmake.cache is now parsed
Debugging Debugging
* Add on-device debugging for the Symbian platform using gdb * Add on-device debugging for the Symbian platform using gdb
...@@ -72,6 +80,10 @@ Debugging ...@@ -72,6 +80,10 @@ Debugging
names names
* pdb: Added some basic debugging for Python scripts based on pdb * pdb: Added some basic debugging for Python scripts based on pdb
* Improvements in the dialogs, status messages, and general appearance * Improvements in the dialogs, status messages, and general appearance
* Fixed debugging helpers to work while debugging applications on devices
* On Linux and Windows, enabled installing Qt with one user account and
then using it with another without workarounds
* Fixed all data types to work in the Watch Window of CDB
Help Help
...@@ -82,11 +94,6 @@ QML/JS Support ...@@ -82,11 +94,6 @@ QML/JS Support
* New qml based .qmlproject file format (replaces old format) * New qml based .qmlproject file format (replaces old format)
* New QmlDesigner
* Allows visual manipulation of .qml files
* Supports changing top-level states
* Integrates tighly with text editor, e.g. shared history, navigation facilities ...
Platform Specific Platform Specific
Mac Mac
......
...@@ -7,18 +7,28 @@ equals(QMAKE_DIR_SEP, /) { # unix, mingw+msys ...@@ -7,18 +7,28 @@ equals(QMAKE_DIR_SEP, /) { # unix, mingw+msys
# The lack of spaces in front of the && is necessary! # The lack of spaces in front of the && is necessary!
QDOC = set SRCDIR=$$PWD&& set OUTDIR=$$OUT_PWD/doc/html&& $$QDOC_BIN QDOC = set SRCDIR=$$PWD&& set OUTDIR=$$OUT_PWD/doc/html&& $$QDOC_BIN
} else { # nmake } else { # nmake
QDOC = set SRCDIR=$$PWD $$escape_expand(\n\t) \ QDOC = set SRCDIR=$$PWD $$escape_expand(\\n\\t) \
set OUTDIR=$$OUT_PWD/doc/html $$escape_expand(\n\t) \ set OUTDIR=$$OUT_PWD/doc/html $$escape_expand(\\n\\t) \
$$QDOC_BIN $$QDOC_BIN
} }
QHP_FILE = $$OUT_PWD/doc/html/qtcreator.qhp QHP_FILE = $$OUT_PWD/doc/html/qtcreator.qhp
QCH_FILE = $$IDE_DOC_PATH/qtcreator.qch QCH_FILE = $$IDE_DOC_PATH/qtcreator.qch
HELP_DEP_FILES = $$PWD/qtcreator.qdoc \
$$PWD/addressbook-sdk.qdoc \
$$PWD/qt-defines.qdocconf \
$$PWD/qt-html-templates.qdocconf \
$$PWD/qtcreator.qdocconf \
$$PWD/qtcreator-online.qdocconf
html_docs.commands = $$QDOC $$PWD/qtcreator.qdocconf html_docs.commands = $$QDOC $$PWD/qtcreator.qdocconf
html_docs.depends += $$PWD/qtcreator.qdoc $$PWD/qtcreator.qdocconf html_docs.depends += $$HELP_DEP_FILES
html_docs.files = $$QHP_FILE html_docs.files = $$QHP_FILE
html_docs_online.commands = $$QDOC $$PWD/qtcreator-online.qdocconf
html_docs_online.depends += $$HELP_DEP_FILES
qch_docs.commands = $$HELPGENERATOR -o \"$$QCH_FILE\" $$QHP_FILE qch_docs.commands = $$HELPGENERATOR -o \"$$QCH_FILE\" $$QHP_FILE
qch_docs.depends += html_docs qch_docs.depends += html_docs
qch_docs.files = $$QCH_FILE qch_docs.files = $$QCH_FILE
...@@ -29,10 +39,10 @@ unix:!macx { ...@@ -29,10 +39,10 @@ unix:!macx {
INSTALLS += qch_docs INSTALLS += qch_docs
} }
docs_online.depends = html_docs_online
docs.depends = qch_docs docs.depends = qch_docs
QMAKE_EXTRA_TARGETS += html_docs qch_docs docs QMAKE_EXTRA_TARGETS += html_docs html_docs_online qch_docs docs docs_online
OTHER_FILES = $$PWD/qtcreator.qdoc \ OTHER_FILES = $$HELP_DEP_FILES \
$$PWD/qtcreator.qdocconf $$PWD/api/qtcreator-api.qdoc \
OTHER_FILES += $$PWD/api/qtcreator-api.qdoc \ $$PWD/api/qtcreator-api.qdocconf
$$PWD/api/qtcreator-api.qdocconf
#-------------------------------------------------
#
# Project created by QtCreator 2010-05-26T16:46:58
#
#-------------------------------------------------
QT += core gui
TARGET = BatteryIndicator
TEMPLATE = app
SOURCES += main.cpp\
batteryindicator.cpp
HEADERS += batteryindicator.h
FORMS += batteryindicator.ui
CONFIG += mobility
MOBILITY = systeminfo
symbian {
TARGET.UID3 = 0xecbd72d7
# TARGET.CAPABILITY +=
TARGET.EPOCSTACKSIZE = 0x14000
TARGET.EPOCHEAPSIZE = 0x020000 0x800000
}
#include "batteryindicator.h"
#include "ui_batteryindicator.h"
//! [2]
BatteryIndicator::BatteryIndicator(QWidget *parent) :
QDialog(parent),
ui(new Ui::BatteryIndicator),
deviceInfo(NULL)
{
ui->setupUi(this);
setupGeneral();
}
//! [2]
BatteryIndicator::~BatteryIndicator()
{
delete ui;
}
//! [1]
void BatteryIndicator::setupGeneral()
{
deviceInfo = new QSystemDeviceInfo(this);
ui->batteryLevelBar->setValue(deviceInfo->batteryLevel());
connect(deviceInfo, SIGNAL(batteryLevelChanged(int)),
ui->batteryLevelBar, SLOT(setValue(int)));
}
//! [1]
#ifndef BATTERYINDICATOR_H
#define BATTERYINDICATOR_H
#include <QDialog>
//! [1]
#include <QSystemInfo>
//! [1]
//! [2]
QTM_USE_NAMESPACE
//! [2]
namespace Ui {
class BatteryIndicator;
}
class BatteryIndicator : public QDialog
{
Q_OBJECT
public:
explicit BatteryIndicator(QWidget *parent = 0);
~BatteryIndicator();
//! [3]
private:
Ui::BatteryIndicator *ui;
void setupGeneral();
QSystemDeviceInfo *deviceInfo;
//! [3]
};
#endif // BATTERYINDICATOR_H
<?xml version="1.0" encoding="UTF-8"?>
<ui version="4.0">
<class>BatteryIndicator</class>
<widget class="QDialog" name="BatteryIndicator">
<property name="geometry">
<rect>
<x>0</x>
<y>0</y>
<width>800</width>
<height>480</height>
</rect>
</property>
<property name="windowTitle">
<string>BatteryIndicator</string>
</property>
<widget class="QProgressBar" name="batteryLevelBar">
<property name="geometry">
<rect>
<x>10</x>
<y>10</y>
<width>118</width>
<height>23</height>
</rect>
</property>
<property name="value">
<number>24</number>
</property>
</widget>
</widget>
<layoutdefault spacing="6" margin="11"/>
<resources/>
<connections/>
</ui>
#include <QtGui/QApplication>
#include "batteryindicator.h"
int main(int argc, char *argv[])
{
QApplication a(argc, argv);
BatteryIndicator w;
#if defined(Q_WS_S60)
w.showMaximized();
#else
w.show();
#endif
return a.exec();
}
doc/images/qmldesigner-run-custom-exe.png

64 KiB | W: 0px | H: 0px

doc/images/qmldesigner-run-custom-exe.png

28.7 KiB | W: 0px | H: 0px

doc/images/qmldesigner-run-custom-exe.png
doc/images/qmldesigner-run-custom-exe.png
doc/images/qmldesigner-run-custom-exe.png
doc/images/qmldesigner-run-custom-exe.png
  • 2-up
  • Swipe
  • Onion skin
doc/images/qmldesigner-run-settings.png

63.4 KiB | W: 0px | H: 0px

doc/images/qmldesigner-run-settings.png

29.5 KiB | W: 0px | H: 0px

doc/images/qmldesigner-run-settings.png
doc/images/qmldesigner-run-settings.png
doc/images/qmldesigner-run-settings.png
doc/images/qmldesigner-run-settings.png
  • 2-up
  • Swipe
  • Onion skin
doc/images/qmldesigner-visual-editor.png

190 KiB | W: 0px | H: 0px

doc/images/qmldesigner-visual-editor.png

170 KiB | W: 0px | H: 0px

doc/images/qmldesigner-visual-editor.png
doc/images/qmldesigner-visual-editor.png
doc/images/qmldesigner-visual-editor.png
doc/images/qmldesigner-visual-editor.png
  • 2-up
  • Swipe
  • Onion skin
doc/images/qt-simulator.png

231 KiB

doc/images/qtcreator-add-resource-wizard.png

14.5 KiB | W: 0px | H: 0px

doc/images/qtcreator-add-resource-wizard.png

24.1 KiB | W: 0px | H: 0px

doc/images/qtcreator-add-resource-wizard.png
doc/images/qtcreator-add-resource-wizard.png
doc/images/qtcreator-add-resource-wizard.png
doc/images/qtcreator-add-resource-wizard.png
  • 2-up
  • Swipe
  • Onion skin
doc/images/qtcreator-add-resource-wizard2.png

11.3 KiB | W: 0px | H: 0px

doc/images/qtcreator-add-resource-wizard2.png

24.7 KiB | W: 0px | H: 0px

doc/images/qtcreator-add-resource-wizard2.png
doc/images/qtcreator-add-resource-wizard2.png
doc/images/qtcreator-add-resource-wizard2.png
doc/images/qtcreator-add-resource-wizard2.png
  • 2-up
  • Swipe
  • Onion skin
doc/images/qtcreator-add-resource-wizard3.png

15 KiB | W: 0px | H: 0px

doc/images/qtcreator-add-resource-wizard3.png

27.8 KiB | W: 0px | H: 0px

doc/images/qtcreator-add-resource-wizard3.png
doc/images/qtcreator-add-resource-wizard3.png
doc/images/qtcreator-add-resource-wizard3.png
doc/images/qtcreator-add-resource-wizard3.png
  • 2-up
  • Swipe
  • Onion skin
doc/images/qtcreator-add-resource.png

43.4 KiB | W: 0px | H: 0px

doc/images/qtcreator-add-resource.png

33.5 KiB | W: 0px | H: 0px

doc/images/qtcreator-add-resource.png
doc/images/qtcreator-add-resource.png
doc/images/qtcreator-add-resource.png
doc/images/qtcreator-add-resource.png
  • 2-up
  • Swipe
  • Onion skin
doc/images/qtcreator-application-output.png

35.3 KiB | W: | H:

doc/images/qtcreator-application-output.png

11.1 KiB | W: | H:

doc/images/qtcreator-application-output.png
doc/images/qtcreator-application-output.png
doc/images/qtcreator-application-output.png
doc/images/qtcreator-application-output.png
  • 2-up
  • Swipe
  • Onion skin
doc/images/qtcreator-batteryindicator-screenshot.png

98.3 KiB

doc/images/qtcreator-breakdown.png

91.4 KiB | W: | H:

doc/images/qtcreator-breakdown.png

104 KiB | W: | H:

doc/images/qtcreator-breakdown.png
doc/images/qtcreator-breakdown.png
doc/images/qtcreator-breakdown.png
doc/images/qtcreator-breakdown.png
  • 2-up
  • Swipe
  • Onion skin
doc/images/qtcreator-build-dependencies.png

42 KiB | W: | H:

doc/images/qtcreator-build-dependencies.png

14.4 KiB | W: | H:

doc/images/qtcreator-build-dependencies.png
doc/images/qtcreator-build-dependencies.png
doc/images/qtcreator-build-dependencies.png
doc/images/qtcreator-build-dependencies.png
  • 2-up
  • Swipe
  • Onion skin