Commit Graph

18 Commits

Author SHA1 Message Date
Alessandro Portale
c53c9592fa CMakeProject templates/examples: Fix the install line
The installation command needs to define
  RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR}

Fixes: QTCREATORBUG-28999
Change-Id: If3f6ed15ef248eb07628bdc9fa4d11a678839a27
Reviewed-by: Joerg Bornemann <joerg.bornemann@qt.io>
2023-04-05 08:47:20 +00:00
Leena Miettinen
90a8496cdc Doc: Update docs about creating Qt Quick Application projects
You now have the option to create projects that you can open in QDS.

Task-number: QTCREATORBUG-28721
Change-Id: Ia8f36fd65f2356b9987b027d7b37ac6848ff7e03
Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
2023-03-02 13:10:54 +00:00
Christian Kandeler
787de7eede Documentation: Remove CMAKE_INCLUDE_CURRENT_DIR from example
It's not needed.

Change-Id: If831963bc1b38545134254aba1b814f1d332fcdb
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
2022-09-26 14:55:13 +00:00
Lucie Gérard
a7956df3ca Use SPDX license identifiers
Replace the current license disclaimer in files by
a SPDX-License-Identifier.

Task-number: QTBUG-67283
Change-Id: I708fd1f9f2b73d60f57cc3568646929117825813
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
2022-08-26 12:27:18 +00:00
Leena Miettinen
8d1fd930b1 Doc: Convert Qt Widgets tutorial to use CMake as build system
- Describe adding resource file to CMakeLists.txt
- Update screenshots

Fixes: QTCREATORBUG-26686
Change-Id: I2b06a9753ee73b736982923e3b2a5bb6b4dd8861
Reviewed-by: Cristian Adam <cristian.adam@qt.io>
2022-07-07 14:13:53 +00:00
Leena Miettinen
7a5b71b9b8 Doc: Update CMakeLists.txt files used in Qt Quick tutorials
...to the ones created by version 7.0 wizard templates.

Task-number: QTCREATORBUG-26610
Change-Id: I67409b5ba4800199f209d9ad1a85c6657e9210df
Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
Reviewed-by: Assam Boudjelthia <assam.boudjelthia@qt.io>
Reviewed-by: Alessandro Portale <alessandro.portale@qt.io>
2022-01-21 09:52:41 +00:00
Leena Miettinen
243521380b Doc: Update CMakeLists.txt files of tutorial example apps
To match the files generated by the application wizards.

Change-Id: If749a6dcc25eacb9daef451fec6abbc879bbc8a8
Reviewed-by: Artem Sokolovskii <artem.sokolovskii@qt.io>
Reviewed-by: Alessandro Portale <alessandro.portale@qt.io>
2022-01-06 09:45:03 +00:00
Leena Miettinen
14a81406e3 Doc: Update the Qt Quick Application tutorial
- Remove references to Qt Quick Designer plugin
- Remove obsolete screenshots
- Promote code completion and Qt Quick Toolbars
- Describe using wizards to create custom QML types
- Describe adding resources to CMakeLists.txt files

Task-number: QTCREATORBUG-26483
Change-Id: I804870b962e0d1daa6ba7c988425f14ad87fe888
Reviewed-by: Alessandro Portale <alessandro.portale@qt.io>
2021-10-27 11:42:48 +00:00
Leena Miettinen
b67482480e Doc: Update the Qt Quick Mobile application tutorial
Remove references to using visual editors and use the example code
from Qt Sensors module.

Add instructions for using CMake.

Add CMakeLists.txt, AndroidManifest.xml, and Info.plist files.

Change-Id: I956379fdf7d39161f571893d56250ec2dd2f5ddd
Reviewed-by: Alessandro Portale <alessandro.portale@qt.io>
Reviewed-by: Assam Boudjelthia <assam.boudjelthia@qt.io>
2021-10-27 08:40:52 +00:00
Leena Miettinen
fe62385361 Doc: Fix the Qt Quick Application tutorial
- Keep the Window, but move the page into a separate QML file
  to which you add states
- Explain how to bind the icon to the rectangles in the states
  to make the UI scalable
- Update the transparent icon and instructions for setting the border
  transparent
- Add and update screenshots

Fixes: QTCREATORBUG-26291
Change-Id: I68c6b7b897c7824b43b9e0fa719e37864841ba9b
Reviewed-by: Alessandro Portale <alessandro.portale@qt.io>
2021-09-23 14:05:00 +00:00
Kai Koehne
a83c33999a progressbar example: Remove explicit QT_DEPRECATED_WARNINGS
Since Qt 5.13, this macro has no effect.

Change-Id: I24188fee1a3e329870df350ebc1fd4113ecd1bff
Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
2020-12-03 12:41:09 +00:00
Leena Miettinen
d425710587 Doc: Update mobile app tutorial
- Use Qt Quick Application - Empty wizard template to create
  a simpler project
- Use Add New Assets button to add the Bluebubble.svg file to
  the project and QRC
- Use Connections View Properties tab to add custom properties
- Use Properties view and Binding Editor to specify values for
  the custom properties
- Add screenshots

Fixes: QTCREATORBUG-24478
Change-Id: Ic165684141b06dc1870054c8faa2f27f33162c20
Reviewed-by: Alessandro Portale <alessandro.portale@qt.io>
2020-08-18 07:03:33 +00:00
Leena Miettinen
e6c063f877 Doc: Update the Transitions example to use Transition Editor
- Use the Qt Quick Application - Empty wizard template
- Change Window type to Rectangle type to be able to add
  states in States view
- Set State1 as default state
- Use Transition Editor to add transitions between states
- Use Easing Curve Editor to add easing curves

Change-Id: Ie68fc6fdd2e0cf3704692885209abf9027da8319
Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
2020-08-14 08:49:27 +00:00
Leena Miettinen
fc879d196f Doc: Update widget-based app tutorial
Task-number: QTCREATORBUG-23364
Change-Id: Iedc02d8e774093d176e6ccd881f096d9b3163a60
Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
2020-04-14 10:54:55 +00:00
Leena Miettinen
013e794ec0 Doc: Update Qt Quick app tutorial
Task-number: QTCREATORBUG-23364
Change-Id: Ib5fc260219a2e29c0762456e8b3c8d7e82954043
Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
2020-04-08 11:50:33 +00:00
Thomas Hartmann
9414961206 Fix example
Task-number: QTCREATORBUG-23045
Change-Id: I2cf54a4b6ede3a19d0e5273683f4969d397028ba
Reviewed-by: Tim Jenssen <tim.jenssen@qt.io>
2020-03-26 10:12:56 +00:00
Eike Ziller
5c121d5791 Merge remote-tracking branch 'origin/4.11'
Conflicts:
	src/plugins/genericprojectmanager/genericproject.cpp

Change-Id: Ib54f1645ec70a9e6460a888a13190ede130bccca
2020-02-05 11:59:35 +01:00
Leena Miettinen
5fc456dd22 Doc: Rearrange files in the doc folder
Source and configuration files for each manual are now located in a
separate subdirectory, with common configuration files in doc/config.

doc
|_config
|_qtcreator
|_qtcreatordev
|_qtdesignstudio

Edit the config files accordingly.

Change-Id: Idc747a7c16e84f3e06add91234dc5fc908e64cc5
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
2020-01-27 09:05:07 +00:00