Commit Graph

15 Commits

Author SHA1 Message Date
Eike Ziller
4c1044981f Plugin wizard: Add missing license templates
Change-Id: I3b43ebdb9823a5a7430946ca789188628a910b9d
Reviewed-by: Alessandro Portale <alessandro.portale@qt.io>
2023-11-14 13:28:46 +00:00
hjk
3fa4fa5cf3 Wizards: Use simpler init() signature in the Creator Plugin template
This is the most common case by far. Also add a hint for special needs.

Change-Id: Ib4d708d90a3b2dd91d18fa53c3fb597304145697
Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
2023-08-17 11:56:35 +00:00
hjk
59a6702271 Wizards: Enforce use of #pragma once in the Creator Plugin template
This should match Creator style, no matter what the users uses for
own projects.

Change-Id: I32e052b24ed6d029cd3c7a466bdf8191d1657e4e
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
2023-07-28 14:09:57 +00:00
hjk
1d1eb9c3a2 Templates: Use C++17 compact namespaces in the plugin template
Change-Id: If4c8540e4d1d9b42efcd1c039c28f85bd0fb98fd
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
Reviewed-by: Alessandro Portale <alessandro.portale@qt.io>
2023-07-04 06:52:07 +00:00
Eike Ziller
8b143d5f5a Move Qt Creator plugin wizard to JSON
Change-Id: Ida52d0998739db76a1a1d61da9271d2989a27649
Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
2020-01-06 15:39:04 +00:00
Alessandro Portale
fa46871fe2 Qt Creator Plugin Wizard: Use 'override' in generated code
...otherwise Qt Creator immediately underlines the code it previously
generated.

Change-Id: Id2355c3a1bd070a5bc40b9d02cb2dabe730d9790
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
2019-05-08 05:51:32 +00:00
Filip Bucek
aaa8beab88 Wizards: Support using #pragma once instead of include guards
Allow users to choose #pragma once instead of #ifndef include guards in
generated header files.

Fixes: QTCREATORBUG-12166
Change-Id: I3ba41c7570beb9c5958e174b5581fcc25855050f
Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
Reviewed-by: Leena Miettinen <riitta-leena.miettinen@qt.io>
Reviewed-by: Filip Bucek <fbucek@atlas.cz>
2019-01-23 09:10:42 +00:00
Orgad Shaneh
33c3a1fbbf Wizard: Use Qt5-style connects
Change-Id: Ibe5d1543e99644ff2c07146b9a83d9fe5b4121e1
Reviewed-by: Tobias Hunger <tobias.hunger@qt.io>
2016-06-03 07:41:53 +00:00
Tobias Hunger
c003cb946e QtC Plugin Wizard: Use #pragma once
No need to discuss individual header guards that way;-)

And that is what we want to use in Qt Creator now anyway.

Change-Id: Idb2d7a34ea3c5d99c18c696eaed4023c12c01930
Task-number: QTCREATORBUG-15861
Reviewed-by: Tim Jenssen <tim.jenssen@theqtcompany.com>
2016-03-14 15:17:44 +00:00
Eike Ziller
7c07ad9e5c Qt Creator plugin template: Do not export plugin by default
Change-Id: I82ffa76bcb5850e8bda11d1daca3430e04e9695a
Reviewed-by: Maurice Kalinowski <maurice.kalinowski@digia.com>
2013-03-15 09:26:36 +01:00
Maurice Kalinowski
c9d7b396e5 update wizard template
- on Windows the export is required, while on Unix everything
  gets exported by default.
- for Qt5 based Qt Creator we need the specification of the
  json file.

Change-Id: I1e8055fcb2b81d42369f906e1ba42a4c2b811553
Reviewed-by: Kai Koehne <kai.koehne@digia.com>
2013-02-20 09:39:58 +01:00
Nicolas Arnaud-Cormos
5bab50a934 Update the template for Qt Creator plugin.
Make it more consistant with the current plugins:
 * plugin class use the Plugin template instead of Impl
 * add a pluginconstants.h file
 * use the new pluginspec.in file

Merge-request: 216
Reviewed-by: con <qtc-committer@nokia.com>
2010-12-07 12:36:06 +01:00
con
5c8ce80ea9 Adapt Qt Creator plugin template to match recent changes. 2010-07-13 15:25:22 +02:00
con
79edacded5 Add some simple code to the Qt Creator plugin template. 2010-05-06 12:00:30 +02:00
con
c459349f13 Add a Qt Creator custom plugin wizard. 2010-05-05 19:03:29 +02:00