万本电子书0元读

万本电子书0元读

顶部广告

Application Development with Qt Creator - Second Edition电子书

售       价:¥

15人正在读 | 0人评论 9.8

作       者:Ray Rischpater

出  版  社:Packt Publishing

出版时间:2014-11-27

字       数:63.4万

所属分类: 进口书 > 外文原版书 > 电脑/网络

温馨提示:数字商品不支持退换货,不提供源文件,不支持导出打印

为你推荐

  • 读书简介
  • 目录
  • 累计评论(0条)
  • 读书简介
  • 目录
  • 累计评论(0条)
This book is great for developers who are new to Qt and Qt Creator and who are interested in harnessing the power of Qt for cross-platform development. If you have basic experience programming in C++, you have what it takes to create engaging cross-platform applications using Qt and Qt Creator!
目录展开

Application Development with Qt Creator Second Edition

Table of Contents

Application Development with Qt Creator Second Edition

Credits

About the Author

About the Reviewers

www.PacktPub.com

Support files, eBooks, discount offers, and more

Why subscribe?

Free access for Packt account holders

Preface

What this book covers

What you need for this book

Who this book is for

Conventions

Reader feedback

Customer support

Downloading the example code

Errata

Piracy

Questions

1. Getting Started with Qt Creator

Downloading Qt and Qt Creator

Finding your way around Qt Creator

Your first application – Hello World

Hello World using the QtGui library

Hello World using Qt Quick

Summary

2. Building Applications with Qt Creator

Getting started – our sample library

Learning the landscape – the Build menu and the .pro files

Linking against our sample library

Getting lost and found again – debugging

Setting breakpoints and stepping through your program

Examining variables and memory

Examining the call stack

The Projects pane and building your project

A review – running and debugging your application

Summary

3. Designing Your Application with Qt Designer

Code interlude – signals and slots

Creating forms in Qt Designer

Creating the main form

Using application resources

Instantiating forms, message boxes, and dialogs in your application

Wiring the Qt Widgets' application logic

Learning more about Qt Widgets

Code interlude – Qt Quick and the QML syntax

Creating Qt Quick applications in Qt Designer

Creating a reusable button

The calculator's main view

Learning more about Qt Quick and QML

Summary

4. Qt Foundations

Representing data using Qt's core classes

Working with key-value pairs

Multithreading in Qt

Accessing files using Qt

Accessing HTTP resources using Qt

Performing HTTP requests

Parsing XML using Qt

Using XML parsing with HTTP

Implementing WorkerThread

Summary

5. Developing Applications with Qt Widgets

Your main application and its menus

Simple Qt Widgets

Managing the widget layout with layouts

Model-view-controller programming with Qt

Analyzing a concrete model subclass

Rendering web content with QWebView

Summary

6. Drawing with Qt

What we need to start drawing with Qt

Drawing with QPainter on QPaintDevice instances

Drawing off screen

Creating custom widgets

The Graphics View Framework

Summary

7. Doing More with Qt Quick

The fundamental concepts of Qt Quick

States and transitions in Qt Quick

Integrating Qt Quick and C++

Putting it all together – an image gallery application

Summary

8. Multimedia and Qt Quick

Multimedia in Qt

Playing audio clips and sound effects

Playing video clips

Accessing the camera

Summary

9. Sensors and Qt Quick

Sensors in Qt

Determining the device location

Obtaining a device's position – a simple example

Summary

10. Localizing Your Application with Qt Linguist

Understanding the task of localization

Marking strings for localization

Localizing your application with QLinguist

Including localized strings in your application

Localizing special parameters – currencies and dates with QLocale

Summary

11. Optimizing Performance with Qt Creator

The QML performance analyzer

QtSlowButton – a Qt Quick application in need of performance tuning

Finding memory leaks with Valgrind

QtLeakyButton – a Qt C++ application in need of memory help

Summary

12. Developing Mobile Applications with Qt Creator

A mobile software development primer

User attention is at a premium

Computational resources are at a premium

Network resources are at a premium

Storage resources are at a premium

To port or not to port?

A word on testing

Setting up Qt Creator for Android

Downloading all the pieces

Setting environment variables

Finishing the Android SDK installation

Configuring Qt Creator

Building and running your application

Supporting other mobile platforms

Summary

13. Qt Tips and Tricks

Writing console applications with Qt Creator

Integrating Qt Creator with version control systems

Configuring the coding style and coding format options

Building projects from the command line

Setting the Qt Quick window display options

Learning more about Qt

Debugging Qt's signal-slot connections

Summary

Index

累计评论(0条) 0个书友正在讨论这本书 发表评论

发表评论

发表评论,分享你的想法吧!

买过这本书的人还买过

读了这本书的人还在读

回顶部