SlideShare a Scribd company logo
Qt basics
Qt History
•   1994 Trollthech was founded
•   1995 First release of Qt
•   1998 release of Qt2
•   2002 release of Qt3
•   Summer 2005 release of Qt4
•   2008 Nokia purchases Trollthech
•   November 2012 release of Qt5
Qt well known customers
Qt Licensing
• LGPL v2.1
   Can be used in commercial apps with closed
   code
  Code changes in libraries must be shared
• Commercial version
  Code changes in libraries don’t have to be shared
  Customer support
Qt Architecture
Qt and Visual Studio

                   +
• QtVsAddin
• Reqirements
Qt and C++
• Qt goes beyond C++
  Seamless objects communication(signals and
   slots)
  Meta Object system(Object Properties, and object
   trees)
• Still works with standard C++ compilers on all
  supported platforms
Qt additional compiling steps
• moc(Meta-Object compiler)
• uic(User Interface compiler)
• rcc(Resources compiler)
Signals and Slots
• Signal
  Emited when paticular event occurs
  Can be used from existing classes and create your
   own
• Slots
  Function which response to signal
  Can also create your own
Signals and Slots
• Requirements
  QObject inheritance
  Q_OBJECT macro
  signals, slots section
  connect, disconnect methods
• Connection types
  Direct, Queued, Unique
Signals and Slots
Additional tools
• Qt Designer
• Qt Linguist
• Qt Assistant
Questions?

More Related Content

Similar to cpp-2013 #14 Основи Qt

A Taste of Pharo 7.0
A Taste of Pharo 7.0A Taste of Pharo 7.0
A Taste of Pharo 7.0
ESUG
 
下午3 intel fenghaitao_mee_go api and application development
下午3 intel fenghaitao_mee_go api and application development下午3 intel fenghaitao_mee_go api and application development
下午3 intel fenghaitao_mee_go api and application development
csdnmobile
 

Similar to cpp-2013 #14 Основи Qt (20)

QtQuick Day 1
QtQuick Day 1QtQuick Day 1
QtQuick Day 1
 
Qt Application Programming with C++ - Part 1
Qt Application Programming with C++ - Part 1Qt Application Programming with C++ - Part 1
Qt Application Programming with C++ - Part 1
 
cpp-2013 #18 Qt Part 2
cpp-2013 #18 Qt Part 2cpp-2013 #18 Qt Part 2
cpp-2013 #18 Qt Part 2
 
Qt programming-using-cpp
Qt programming-using-cppQt programming-using-cpp
Qt programming-using-cpp
 
Welcome - Introduzione - Burkhard Stubert
Welcome - Introduzione - Burkhard StubertWelcome - Introduzione - Burkhard Stubert
Welcome - Introduzione - Burkhard Stubert
 
Qt Qml
Qt QmlQt Qml
Qt Qml
 
A Taste of Pharo 7.0
A Taste of Pharo 7.0A Taste of Pharo 7.0
A Taste of Pharo 7.0
 
Qt 5 - C++ and Widgets
Qt 5 - C++ and WidgetsQt 5 - C++ and Widgets
Qt 5 - C++ and Widgets
 
Software development with qt
Software development with qtSoftware development with qt
Software development with qt
 
Software development with qt
Software development with qtSoftware development with qt
Software development with qt
 
下午3 intel fenghaitao_mee_go api and application development
下午3 intel fenghaitao_mee_go api and application development下午3 intel fenghaitao_mee_go api and application development
下午3 intel fenghaitao_mee_go api and application development
 
Qt Oss to Commercial 2019-09-10
Qt Oss to Commercial 2019-09-10Qt Oss to Commercial 2019-09-10
Qt Oss to Commercial 2019-09-10
 
Qt Technical Presentation
Qt Technical PresentationQt Technical Presentation
Qt Technical Presentation
 
Simulators for Wireless Sensor Networks (OMNeT++)
Simulators for Wireless Sensor Networks (OMNeT++)Simulators for Wireless Sensor Networks (OMNeT++)
Simulators for Wireless Sensor Networks (OMNeT++)
 
Contribuire al Qt Project
Contribuire al Qt ProjectContribuire al Qt Project
Contribuire al Qt Project
 
Andreas Jakl Software Development on Nokia Deviceswith Qt
Andreas Jakl Software Development on Nokia Deviceswith QtAndreas Jakl Software Development on Nokia Deviceswith Qt
Andreas Jakl Software Development on Nokia Deviceswith Qt
 
Qt introduction
Qt introductionQt introduction
Qt introduction
 
Qt S60 Technical Presentation Fn Stripped
Qt S60 Technical Presentation Fn StrippedQt S60 Technical Presentation Fn Stripped
Qt S60 Technical Presentation Fn Stripped
 
Qt Automotive Suite - under the hood // Qt World Summit 2017
Qt Automotive Suite - under the hood // Qt World Summit 2017Qt Automotive Suite - under the hood // Qt World Summit 2017
Qt Automotive Suite - under the hood // Qt World Summit 2017
 
Cincom Roadmap ESUG2014
Cincom Roadmap ESUG2014Cincom Roadmap ESUG2014
Cincom Roadmap ESUG2014
 

More from Amazon Web Services

More from Amazon Web Services (16)

cpp-2013 #20 Best practices
cpp-2013 #20 Best practicescpp-2013 #20 Best practices
cpp-2013 #20 Best practices
 
cpp-2013 #19 Concurrency
cpp-2013 #19 Concurrencycpp-2013 #19 Concurrency
cpp-2013 #19 Concurrency
 
cpp-2013 #17 Libraries
cpp-2013 #17 Librariescpp-2013 #17 Libraries
cpp-2013 #17 Libraries
 
cpp-2013 #16 Automated testing
cpp-2013 #16 Automated testingcpp-2013 #16 Automated testing
cpp-2013 #16 Automated testing
 
cpp-2013 #15 Databases
cpp-2013 #15 Databasescpp-2013 #15 Databases
cpp-2013 #15 Databases
 
cpp-2013 #13 C++11
cpp-2013 #13 C++11cpp-2013 #13 C++11
cpp-2013 #13 C++11
 
cpp-2013 #12 Управління пам’яттю Частина 2
cpp-2013 #12 Управління пам’яттю Частина 2cpp-2013 #12 Управління пам’яттю Частина 2
cpp-2013 #12 Управління пам’яттю Частина 2
 
cpp-2013 #11 Constness and Exceptions
cpp-2013 #11 Constness and Exceptionscpp-2013 #11 Constness and Exceptions
cpp-2013 #11 Constness and Exceptions
 
cpp-2013 #9 STL Algorithms Part 1
cpp-2013 #9 STL Algorithms Part 1cpp-2013 #9 STL Algorithms Part 1
cpp-2013 #9 STL Algorithms Part 1
 
cpp-2013 #8 STL Containers Part 2
cpp-2013 #8 STL Containers Part 2cpp-2013 #8 STL Containers Part 2
cpp-2013 #8 STL Containers Part 2
 
cpp-2013 #7 Templates and STL Containers
cpp-2013 #7 Templates and STL Containerscpp-2013 #7 Templates and STL Containers
cpp-2013 #7 Templates and STL Containers
 
cpp-2013 #5 File and network input/output
cpp-2013 #5 File and network input/outputcpp-2013 #5 File and network input/output
cpp-2013 #5 File and network input/output
 
cpp-2013 #4 Memory management
cpp-2013 #4 Memory managementcpp-2013 #4 Memory management
cpp-2013 #4 Memory management
 
cpp-2013 #3 OOP Basics
cpp-2013 #3 OOP Basicscpp-2013 #3 OOP Basics
cpp-2013 #3 OOP Basics
 
cpp-2013 #2 Organizing your code
cpp-2013 #2 Organizing your codecpp-2013 #2 Organizing your code
cpp-2013 #2 Organizing your code
 
cpp-2013 #1 C++ basics
cpp-2013 #1 C++ basicscpp-2013 #1 C++ basics
cpp-2013 #1 C++ basics
 

cpp-2013 #14 Основи Qt

  • 2. Qt History • 1994 Trollthech was founded • 1995 First release of Qt • 1998 release of Qt2 • 2002 release of Qt3 • Summer 2005 release of Qt4 • 2008 Nokia purchases Trollthech • November 2012 release of Qt5
  • 3. Qt well known customers
  • 4. Qt Licensing • LGPL v2.1  Can be used in commercial apps with closed code Code changes in libraries must be shared • Commercial version Code changes in libraries don’t have to be shared Customer support
  • 6. Qt and Visual Studio + • QtVsAddin • Reqirements
  • 7. Qt and C++ • Qt goes beyond C++ Seamless objects communication(signals and slots) Meta Object system(Object Properties, and object trees) • Still works with standard C++ compilers on all supported platforms
  • 8. Qt additional compiling steps • moc(Meta-Object compiler) • uic(User Interface compiler) • rcc(Resources compiler)
  • 9. Signals and Slots • Signal Emited when paticular event occurs Can be used from existing classes and create your own • Slots Function which response to signal Can also create your own
  • 10. Signals and Slots • Requirements QObject inheritance Q_OBJECT macro signals, slots section connect, disconnect methods • Connection types Direct, Queued, Unique
  • 12. Additional tools • Qt Designer • Qt Linguist • Qt Assistant