qt development tools

22
Qt Development Tools William.L 2010-04-28

Upload: william-lee

Post on 12-May-2015

890 views

Category:

Technology


0 download

TRANSCRIPT

Page 1: Qt Development Tools

Qt

Development Tools

William.L 2010-04-28

Page 2: Qt Development Tools

Outline

� Qt Creator

� Qt Eclipse Integration

� Qt UI Designer

Page 3: Qt Development Tools

QtCreator (1/11)

� To provide a cross-platform, complete Integrated

Development Environment (IDE) to develop Qt projects

� Qt Creator meets its design goals of simplicity, ease-of-use, and productivity by relying on the

concept of modes.

Page 4: Qt Development Tools

QtCreator (2/11)

� 6 Modes� Welcome to load recent sessions or specific projects.

� Edit to modify the active project and its source files.

� Debug to inspect the state of the program while debugging.

� Projects to configure how the projects are built and executed.

� Help to view documentation, such as the Qt reference documentation and the Qt Creatordocumentation

� Output enables examining various data in detail, for instance, build issues, compilation and application output

Page 5: Qt Development Tools

QtCreator (3/11)

Welcome-

Qt and

Qt Creator

Getting Started

Page 6: Qt Development Tools

QtCreator (4/11)

Welcome-

Recent

opened

project

Page 7: Qt Development Tools

QtCreator (5/11)

Welcome-

Other Qt

resource

websites

Page 8: Qt Development Tools

QtCreator (6/11)

Edit

Page 9: Qt Development Tools

QtCreator (7/11)

Edit-

Symbol(

function)

list

Page 10: Qt Development Tools

QtCreator (8/11)

Debug

Page 11: Qt Development Tools

QtCreator (9/11)

Projects

Page 12: Qt Development Tools

QtCreator (10/11)

Help –

Query Qt

classes

and

functions

Page 13: Qt Development Tools

QtCreator (11/11)

Output

Page 14: Qt Development Tools

� Nokia offers a seamless integration of Qt

development tools for the Eclipse platform.

� The integration allows developers to use this

standard development environment without needing to take care of any Qt-related build

steps or tools.

Qt Eclipse Integration (1/2)

Page 15: Qt Development Tools

Qt Eclipse Integration (2/2)

From “Start” Menu

Eclipse

New Project

for Qt

application

Page 16: Qt Development Tools

� For designing and building GUIs visually from Qt

components.

� To speeding up development

� Eliminate the time-consuming “compile, link, and run” cycle

for user interface design

� Commercial licensees on Windows can enjoy Qt

Designer’s user interface design facilities from within Microsoft Visual Studio

UI Designer (1/6)

Page 17: Qt Development Tools

UI Designer (2/6)

� Also provide a Qt integration plugin for the cross-

platform Eclipse IDE

� Qt Designer supports a form-based approach to

application development.

� A form is represented by a user interface (.ui) file

Page 18: Qt Development Tools

UI Designer (3/6)

Qt UI

Component

List

Qt UI

Component

Property

Editor

Page 19: Qt Development Tools

UI Designer (4/6)

Qt UI

Component

Signal/Slot

Editor

Qt UI

Component

Object

Inspector

Page 20: Qt Development Tools

UI Designer (5/6)

Qt

Designer

Plugin for

Eclipse

Page 21: Qt Development Tools

UI Designer (6/6)� In Eclipse, click “Windows-

>Show View->Others”, it will show a dialog as the right

configure.

� Choose you wanted editor

under the “Qt” node

Page 22: Qt Development Tools

Reference

� http://qt.nokia.com

� http://qt.gitorious.org/qt-creator/pages/Home

� Qt Eclipse Doc -http://doc.qt.nokia.com/qt-eclipse-

1.5/index.html

� Download <qt-eclipse-integration-win32-1.6.1.exe> -http://qt.nokia.com/developer/eclipse-integration/qt-

eclipse-integration-downloads