aboutsummaryrefslogtreecommitdiffstats
path: root/src/plugins/python/pythonbuildconfiguration.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Project management: Attach build system name to BuildSystem classesChristian Kandeler2025-11-051-1/+1
| | | | | Change-Id: I1b0b998fae7ce4ea5588c4d32a317dac7fe442b5 Reviewed-by: Christian Stenger <christian.stenger@qt.io>
* ProjectExplorer: Centralize setting the build directoryChristian Kandeler2025-11-041-0/+1
| | | | | | | ... for all build systems that respect the template. Change-Id: I8e9c32be0f8633bd0cfde981593ad5de40acc1ed Reviewed-by: Christian Stenger <christian.stenger@qt.io>
* TaskTree: Switch to qt-ified QtTaskTreeJarek Kobus2025-10-311-3/+3
| | | | | | | Remove the old Tasking lib. Change-Id: Iacb4939cc873e25d6039efae7dd23510a7baa5f9 Reviewed-by: hjk <hjk@qt.io>
* Python: Use TaskTree for checkForPySide()Jarek Kobus2025-08-221-12/+30
| | | | | | | | Don't blocking run Process in separate thread. Instead, run Process asynchronously from the main thread. Change-Id: I181464b1fc4bfd6946daa76cdab509b9cc565074 Reviewed-by: David Schulz <david.schulz@qt.io>
* Python: Some more UI text fixesEike Ziller2025-05-191-1/+2
| | | | | | | | | - setup -> set up - avoid adding strings in code Change-Id: Iac4c228763f054847f37b982036c92b4e68ef8c8 Reviewed-by: Leena Miettinen <riitta-leena.miettinen@qt.io> Reviewed-by: David Schulz <david.schulz@qt.io>
* LanguageClient: have one LanguageClient per BuildConfighjk2025-04-291-1/+1
| | | | | | | | Language server behavior does not depend only on the project files but also on Kit configuration and in some cases the actual build. Change-Id: I1c26de62da9e5ee2f2f9e655f23cd2d30cfedd85 Reviewed-by: David Schulz <david.schulz@qt.io>
* Add pyproject.toml support for Python projectsJaime Resano2025-03-111-1/+2
| | | | | | | | | | | This patch adds support for the standard Python project configuration file: pyproject.toml. It is intended to replace *.pyproject files. Task-number: QTCREATORBUG-22492 Task-number: PYSIDE-2714 Change-Id: I783ee7b49be23c61b0a501ef9bbd722cc652ad14 Reviewed-by: hjk <hjk@qt.io> Reviewed-by: Jaime Resano <Jaime.RESANO-AISA@qt.io>
* ProjectExplorer: Replace uses of Target signals and member functionsChristian Kandeler2025-03-061-1/+1
| | | | | | | | | ... with ones of BuildConfiguration and BuildSystem. This change handles the obvious cases. The remaining contexts have the Target class as their central component and need closer examination. Change-Id: I05963a5d7924c8f0f348ebf8fc00cddfda4a43bc Reviewed-by: hjk <hjk@qt.io>
* ProjectExplorer: Switch BuildSystem to "per build config" approachChristian Kandeler2025-02-111-8/+2
| | | | | | | | - Create BuildSystem object centrally in BuildConfiguration - Remove fallback BuildSystem from Target Change-Id: Iff808a1ea7798180f3675b91f18cb3c66e927b8f Reviewed-by: hjk <hjk@qt.io>
* ProjectExplorer: Replace various direct calls to Target::kit()Christian Kandeler2025-02-071-2/+2
| | | | | | | ... with more suitable ones in the respective context. Change-Id: Ia6e09f4dbbf18a324f96bb7e05ff9f7d82a38a5e Reviewed-by: hjk <hjk@qt.io>
* ProjectExplorer: Dismantle NamedWidgethjk2024-12-031-4/+3
| | | | | | | | | | ... which was really just a widget with a name. Providing the name separately simplifies the code and makes the setup structurally more similar to the BaseAspect::addToLayout() machinery. Change-Id: I0c528e0afb3c22eb0acac8f181cc36a6ab74d95b Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
* Remove #include <utils/fileutils.h> from most header fileshjk2024-07-261-0/+1
| | | | | | | | | | 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>
* Remove PluginManager::futureSynchronizer()Eike Ziller2024-05-211-3/+1
| | | | | | | Use the global synchronizer from Utils::futureSynchronizer() directly Change-Id: Ic8843bc1ff7951c041529a258f36117f08ec4b35 Reviewed-by: Jarek Kobus <jaroslaw.kobus@qt.io>
* Python: offer to install pyside also in qml filesDavid Schulz2024-04-221-12/+14
| | | | | | | | | | This shwos the same editor toolbar as in the python editor that offers to install pyside, if the qml file can be associated to a python project and the configured python for that project does not contain a valid pyside. Change-Id: Id05a2621aec9d78c4a22e61830813cd261eda4fc Reviewed-by: Christian Stenger <christian.stenger@qt.io>
* Utils: Fix build with MSVC with C++20Eike Ziller2024-02-281-1/+1
| | | | | | | | | | | | | | | | | Rename process.h back to qtcprocess.h MSVC's "threads" standard header includes <process.h>, and that ends up including our process.h from Utils. There already was a hacky workaround in place for a similar issue with MINGW, but that doesn't work with MSVC because that doesn't have Simply use a name that doesn't conflict. Change-Id: I1159cd2096b4f2dbc4a1728d0131dd6edd30ebd3 Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org> Reviewed-by: <github-actions-qt-creator@cristianadam.eu> Reviewed-by: hjk <hjk@qt.io>
* Various plugins: Fix some more C++20 warnings about [=] capturesJarek Kobus2024-02-061-2/+3
| | | | | | Change-Id: If20aac4320c84096a07d67cc137886638286acf8 Reviewed-by: hjk <hjk@qt.io> Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
* Python: Remove pluginInstance() and convert usershjk2024-02-051-1/+1
| | | | | | Change-Id: I43179961cdee855b710fc082568a7d0d9a0f0719 Reviewed-by: David Schulz <david.schulz@qt.io> Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
* Python: Use setup function for build related factorieshjk2024-02-011-39/+59
| | | | | Change-Id: I3b1faad8a5f3ead1332941d31509c3efd3806f78 Reviewed-by: David Schulz <david.schulz@qt.io>
* Work on lambdas C++20 compatibilitySerg Kryvonos2023-12-131-2/+2
| | | | | Change-Id: I0d391c02ae1e1c5a1751b33ca7e83902e1cfe269 Reviewed-by: hjk <hjk@qt.io>
* Python: show warnings if pip or venv is missingDavid Schulz2023-12-111-1/+1
| | | | | | Change-Id: Ib38c1eb3b0f31d6988d3a5f084ac6eda08ec0619 Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org> Reviewed-by: Christian Stenger <christian.stenger@qt.io>
* Python: use kits page in python wizardsDavid Schulz2023-11-281-0/+415
Change-Id: I1f7aaf145443481546abb868c8c167186600b848 Reviewed-by: Christian Stenger <christian.stenger@qt.io>