Commit Graph

10 Commits

Author SHA1 Message Date
hjk
f49523029a Remove #include <utils/fileutils.h> from most header files
It has some platform specific warts, filepath.h is somewhat
cheaper and less ugly overall.

Partially clean up surroundings

Change-Id: Ida1fd470ec020f69c446109427f92a08e879789f
Reviewed-by: Jarek Kobus <jaroslaw.kobus@qt.io>
2024-07-26 10:41:16 +00:00
hjk
87280f25ce Utils: Use more views in Id setup
Since this means that StringBuilder expressions are not usable
as arguments anymore, use .withSuffix() more extensively.

This makes this "unusual" construction also a bit better findable.

No measurable performance gain or loss in either direction.

Change-Id: I04508e77764455bd9d3a21eda63bc6de01508e4b
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
2024-07-26 08:00:00 +00:00
hjk
a43d687a10 ProjectExplorer: Add a trival BuildConfiguration
So people can at least add a custom build step

Change-Id: I78f3601233c776501bdc73fb7d67cbfeb886ced2
Reviewed-by: Marcus Tillmanns <marcus.tillmanns@qt.io>
2024-07-23 10:04:46 +00:00
Jarek Kobus
cebaab596d ProjectManager: Simplify Project::setBuildSystemCreator()
Make it a template method.

Change-Id: I3f0510c89d7f0bfe2f814dadc4d8de01c0e1cc89
Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
2024-07-16 10:34:12 +00:00
Jarek Kobus
c70436fa3e BuildSystem: Make BuildSystem subclasses final
Change-Id: I15f6b40131e6a0452682ffad02ffce3b40d903b5
Reviewed-by: hjk <hjk@qt.io>
2024-07-15 14:46:45 +00:00
David Schulz
805c687dbc ProjectExplorer: add rescan action to workspace project context menu
Change-Id: I7a823853c3681da5ec5019a3f66bd98aa1c81cb2
Reviewed-by: Marcus Tillmanns <marcus.tillmanns@qt.io>
2024-06-20 14:05:31 +00:00
David Schulz
e84a9bc3d5 WorkspaceProject: exclude user file and define scheme url by default
Change-Id: I359682a0010a42f00591c103c93b7f41c7f987fd
Reviewed-by: Marcus Tillmanns <marcus.tillmanns@qt.io>
2024-06-12 09:06:51 +00:00
hjk
d308b86847 Utils: Centralize aspect macro expansion setup and handling
Let each aspect have a macro expander, and let aspect-owned lineedits
use this for expansion.

Change-Id: Ifa6f5a678cf81c169643e4145f41e69eafedeb93
Reviewed-by: Marcus Tillmanns <marcus.tillmanns@qt.io>
2024-06-10 06:31:20 +00:00
Marcus Tillmanns
00174e493f ProjectExplorer: Add WorkspaceProjectRunConfig
Change-Id: I66f25165f652f371130555279eddc0437b011887
Reviewed-by: hjk <hjk@qt.io>
2024-06-04 14:08:54 +00:00
David Schulz
3cd72806f8 ProjectExplorer: introduce workspace project
A workspace project can be utilized to open projects that either do not
have a project manager or which uses a project manager we do not support
natively. The workspace project basically scans the folder recursively
and adds all files and folders to the project tree.

The user can provide a project name in the .qtcreator/project.json
project file. It is also possible to exclude files and subdirectories
from the project via the project trees context menu.

Change-Id: If84a4d96c6217ae024af4e2869eb600e1faad372
Reviewed-by: Marcus Tillmanns <marcus.tillmanns@qt.io>
Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
2024-05-21 09:08:53 +00:00