aboutsummaryrefslogtreecommitdiffstats
path: root/src/libs/qtcreatorcdbext
Commit message (Collapse)AuthorAgeFilesLines
* Merge remote-tracking branch 'origin/15.0'Eike Ziller2025-01-161-2/+3
|\ | | | | | | Change-Id: Icedb7d174adc262f3b9d053549195d8ad15f1dd4
| * lldb.exe: use python dependencies generic deploymentCristian Adam2025-01-131-2/+3
| | | | | | | | | | | | | | | | | | By using file globbing expressions, the python*.dll|zip file names do not have to be hardcoded with their respective version numbers. Fixes: QTCREATORBUG-32310 Change-Id: I6a8f6bbd75530a16f54a2fd4d7030e88d3f82888 Reviewed-by: Eike Ziller <[email protected]>
* | Merge remote-tracking branch 'origin/15.0' into qds/devTim Jenßen2024-11-251-24/+106
|\| | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: share/qtcreator/templates/wizards/projects/qtquickapplication/wizard.json share/qtcreator/templates/wizards/projects/qtquickuiprototype/wizard.json src/plugins/qmldesigner/components/contentlibrary/contentlibraryview.cpp src/plugins/qmldesigner/components/materialbrowser/materialbrowserview.cpp src/plugins/qmldesigner/components/timelineeditor/timelinetoolbar.cpp src/plugins/qmldesigner/libs/designercore/rewriter/texttomodelmerger.cpp src/plugins/texteditor/texteditor.cpp Change-Id: I88519e366a153375e0d2aae2798d05828816657d
| * qtcreatorcdbext: Deploy LLVM only onceEike Ziller2024-10-111-17/+27
| | | | | | | | | | | | | | | | | | In the multi-architecture build we don't need to copy LLVM multiple times. Otherwise it copies files from the same source to the same target multiple times in parallel, which can lead to failures. Change-Id: I7e3f478560ebbb53690cff21d85b881d047a111d Reviewed-by: David Schulz <[email protected]>
| * Merge remote-tracking branch 'origin/14.0'Eike Ziller2024-09-161-0/+10
| |\ | | | | | | | | | Change-Id: I8a266c5c9a8e68e1cdec4e7a750e71dae628d619
| | * qtcreatorcdbext: Forward CMAKE_PREFIX_PATH to the subprojectsCristian Adam2024-09-091-0/+10
| | | | | | | | | | | | | | | | | | | | | | | | Otherwise find_package(Clang) will not find the LLVM installation and lldb.exe will not be deployed in multi-arch configurations. Change-Id: I7c067ea68cd047f45b7cca48f2d3798f04010586 Reviewed-by: Eike Ziller <[email protected]>
| * | Cdbext: Fix build when not passing drive letters to CMakeEike Ziller2024-09-061-1/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | Pass native path to Python DLL to dumpbin, because otherwise if the path doesn't contain a drive letter but starts with a / it gets confused with a command line option. Change-Id: I5ba58db0075c3463991aab973f377e7f30637400 Reviewed-by: David Schulz <[email protected]>
| * | Merge remote-tracking branch 'origin/14.0'Eike Ziller2024-08-301-0/+2
| |\| | | | | | | | | | Change-Id: Ib80c94c1afde25f4bb555ced11563d0e4904e57f
| | * qtcreatorcdbext: Forward PythonTargetArchDll in multi-configCristian Adam2024-08-291-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | In setups where no internet is available (Coin CI) we need to specify the path to the python target arch dll. This was done in single configuration mode via the CMake parameter PythonTargetArchDll. But in order to build all architectures we have now: * PythonTargetarm64Dll * PythonTargetwin32Dll * PythonTargetx64Dll And Python3_ROOT_DIR is also forwarded, in order to fix one specific host Python version. Fixes: QTCREATORBUG-31496 Change-Id: I754720f90a4b1fc7d7434ee285c7e300dd77734e Reviewed-by: Eike Ziller <[email protected]>
| * | Merge remote-tracking branch 'origin/14.0'Eike Ziller2024-08-271-7/+66
| |\| | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: src/libs/utils/hostosinfo.cpp src/plugins/android/androidrunnerworker.cpp src/plugins/android/androidrunnerworker.h Change-Id: I9c8fd1fe176019ef12b6adf5adf3af1b8007a083
| | * qtcreatorcdbext: Improve cross-compilation checkCristian Adam2024-08-231-1/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | It was failing on x64 since the values are x64 and AMD64 and were failing the check. Arm has both values ARM64. Change-Id: I404b85d9c499464797ece912ee5b83f93c21d04d Reviewed-by: David Schulz <[email protected]>
| | * qtcreatorcdbext: Build for x86, x64 and arm64 at onceCristian Adam2024-08-221-7/+59
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | When the qtcreatorcdbext is opened standalone, then the build will build itself with MSBuild for x86, x64 and amr64 architectures. The architecture list can be specified with the QTCREATORCDBEXT_BUILD_ARCHS (arm64 win32 x64) CMake parameter. Task-number: QTCREATORBUG-31345 Change-Id: I6174e005d0664f444eacd8f7544edf49af5639e9 Reviewed-by: David Schulz <[email protected]>
| * | CMake: Bump minimum CMake version to 3.20Cristian Adam2024-07-261-1/+1
| |/ | | | | | | | | | | | | | | | | | | | | In order to get the policy CMP0116 set to NEW. See https://cmake.org/cmake/help/latest/policy/CMP0116.html This should prevent rebuilds due to AUTOMOC. Change-Id: I242c44b2969c6caccf61b7d5ba5c3a0335744ee7 Reviewed-by: Eike Ziller <[email protected]>
* / qtcreatorcdbext: disable it if BUILD_DESIGNSTUDIO=ONTim Jenßen2024-11-111-1/+1
|/ | | | | | Change-Id: I83d531029e59a2ad4fe3f24c5cf01498743ca28e Reviewed-by: Tim Jenssen <[email protected]> Reviewed-by: Eike Ziller <[email protected]>
* Debugger: add symbolgroup dumper to cdbbridgeDavid Schulz2024-04-181-0/+17
| | | | | Change-Id: I70f9831873cd17f0ee6a59c4345f2a28921c41bf Reviewed-by: Christian Stenger <[email protected]>
* Cdbext: report HRESULT as an integral data typeDavid Schulz2024-03-211-4/+18
| | | | | | | Fixes: QTCREATORBUG-30574 Change-Id: If877c32639c853bae9b6a5a5762f24a3954f60d5 Reviewed-by: Marcus Tillmanns <[email protected]> Reviewed-by: <[email protected]>
* Merge remote-tracking branch 'origin/13.0'Eike Ziller2024-02-292-28/+19
|\ | | | | | | | | | | | | Conflicts: src/plugins/android/androidsettingswidget.cpp Change-Id: Ifcb16aa16c7bc2792de25d0ee7a22cf0e39a05f8
| * Debugger: defer type look upDavid Schulz2024-02-272-28/+19
| | | | | | | | | | Change-Id: I425c2bfc3c88ebf46af161c5434c0c05a3bb9c97 Reviewed-by: Christian Stenger <[email protected]>
* | Merge remote-tracking branch 'origin/13.0'Eike Ziller2024-02-271-1/+1
|\| | | | | | | Change-Id: If752e3383b35873b696e8beca27d8838a4096c8a
| * LLVM: Use lldb-dap.exe on Windows for qtcreatorcdbextCristian Adam2024-02-231-1/+1
| | | | | | | | | | | | | | | | LLVM 18 has renamed lldb-vscode.exe to lldb-dap.exe. Change-Id: I4b0b108ebebc552a4c843f4c8a2fa563132176cd Reviewed-by: <[email protected]> Reviewed-by: David Schulz <[email protected]>
* | Require C++20hjk2024-02-221-1/+1
|/ | | | | | Change-Id: Id6581a4c32ec6411195edb51339f017e4ddb51ff Reviewed-by: Marco Bubke <[email protected]> Reviewed-by: Eike Ziller <[email protected]>
* Debugger: add more debug output to the python cdbext moduleDavid Schulz2024-02-191-0/+17
| | | | | | Change-Id: I48b4fb6a65eb486b190238ff161ea358bf4d3bf5 Reviewed-by: <[email protected]> Reviewed-by: Christian Stenger <[email protected]>
* Debugger: always try GetSymbolTypeId before iterating over modulesDavid Schulz2024-02-071-2/+1
| | | | | | | This seems to even out some of the huge lookup spikes here. Change-Id: I594c84dfd053be5626cd1f8c423ef00c7c77f37c Reviewed-by: Christian Stenger <[email protected]>
* qtcreatorcdbext: Deploy lldb on WindowsCristian Adam2023-11-151-0/+20
| | | | | | | | | | | | | Starting with LLVM 17.0.1 we include lldb in the list of packages compiled on Windows. This commit deploys lldb.exe and its Python required machinery. Fixes: QTCREATORBUG-14539 Change-Id: I7f44c537cbaf31bf2f065762bdc9a48dd5efc64d Reviewed-by: Qt CI Bot <[email protected]> Reviewed-by: David Schulz <[email protected]> Reviewed-by: Eike Ziller <[email protected]>
* Build: Fix handling of (s)ccache supportEike Ziller2023-10-171-0/+1
| | | | | | | | So it also works when building individual projects like cdbext Change-Id: Ibb9cac77146a9f19cbbe22f2c7257b951f38f3fc Reviewed-by: Cristian Adam <[email protected]> Reviewed-by: Qt CI Bot <[email protected]>
* qtcreatorcdbext: python deployment for arm64Cristian Adam2023-03-011-1/+72
| | | | | | | | | | | | | | | | | | Use dumpbin to extract the symbols from the host dll. Use lib to create an arm64 library to link the qtcreatorcdbext.dll arm64 shared library. Use the PythonTargetArchDll CMake or environment variable to install the target arm64 python.dll If PythonTargetArchDll is not configured the script will download the python-embed-arm64.zip, extract and set PythonTargetArchDll Task-number: QTCREATORBUG-25859 Change-Id: I09320bb758fded546f203c905b75485d7de3b94e Reviewed-by: Qt CI Bot <[email protected]> Reviewed-by: David Schulz <[email protected]>
* MSVC: Enable exception handling for libs that use STL streamsOrgad Shaneh2023-02-231-0/+1
| | | | | | | | | | | | Sample warning: Building CXX object src\libs\qtcreatorcdbext\CMakeFiles\qtcreatorcdbext.dir\common.cpp.obj C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.34.31933\include\ostream(342): warning C4530: C++ exception handler used, but unwind semantics are not enabled. Specify /EHsc C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.34.31933\include\ostream(335): note: while compiling class template member function 'std::basic_ostream<char,std::char_traits<char>> &std::basic_ostream<char,std::char_traits<char>>::operator <<(unsigned long)' F:\Projects\qt-creator\qt-creator\src\libs\qtcreatorcdbext\common.cpp(20): note: see reference to function template instantiation 'std::basic_ostream<char,std::char_traits<char>> &std::basic_ostream<char,std::char_traits<char>>::operator <<(unsigned long)' being compiled C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.34.31933\include\sstream(655): note: see reference to class template instantiation 'std::basic_ostream<char,std::char_traits<char>>' being compiled Change-Id: I26508048a875aabe4c5b80ef4cccfe091a2a145e Reviewed-by: David Schulz <[email protected]>
* Cdbext: lazy type lookupDavid Schulz2023-02-142-46/+124
| | | | | | | | | | | | | | | | Postpone the lookup until we need the type id. This potentially skips the lookup for unresolvable types that are just to parse template parameters. Also cache types we already checked to prevent looking up types multiple times. Additionally traverse all modules in order to find unresolvable types. This combination reduces the time the debugger needs to execute all dumper tests from ~7:30 to ~3:30 on my machine. Task-number: QTCREATORBUG-18287 Change-Id: Ie1e9771f124096c2a9ad24ac26c9b51fcded4fed Reviewed-by: <[email protected]> Reviewed-by: Christian Stenger <[email protected]>
* Remove GPL-3.0+ from license identifiersKai Köhne2023-01-0633-33/+33
| | | | | | | | | | | | | | | Since we also license under GPL-3.0 WITH Qt-GPL-exception-1.0, this applies only to a hypothetical newer version of GPL, that doesn't exist yet. If such a version emerges, we can still decide to relicense... While at it, replace (deprecated) GPL-3.0 with more explicit GPL-3.0-only Change was done by running find . -type f -exec perl -pi -e "s/LicenseRef-Qt-Commercial OR GPL-3.0\+ OR GPL-3.0 WITH Qt-GPL-exception-1.0/LicenseRef-Qt-Commercial OR GPL-3.0-only WITH Qt-GPL-exception-1.0/g" {} \; Change-Id: I5097e6ce8d10233993ee30d7e25120e2659eb10b Reviewed-by: Eike Ziller <[email protected]>
* Use SPDX license identifiersLucie Gérard2022-08-2633-792/+66
| | | | | | | | | Replace the current license disclaimer in files by a SPDX-License-Identifier. Task-number: QTBUG-67283 Change-Id: I708fd1f9f2b73d60f57cc3568646929117825813 Reviewed-by: Eike Ziller <[email protected]>
* cdb: Use separate qtcreatorcdbext suffix for arm architectureCristian Adam2022-06-221-2/+6
| | | | | | | | This would allow arm64 to coexist with amd64 on the same installation. Change-Id: I578aab3d363bf93c2f61d4a7c93576ce19fba4b6 Reviewed-by: <[email protected]> Reviewed-by: David Schulz <[email protected]>
* CMake: Ensure qtcreatorcdbext is a shared library for all casesCristian Adam2022-05-031-1/+1
| | | | | | | | | | qtcreatorcdbext.dll is being loaded by cdb.exe and needs to be a shared library always. Change-Id: I13582f295744d350907284ea02e08ce1e8055dbe Reviewed-by: Eike Ziller <[email protected]> Reviewed-by: <[email protected]> Reviewed-by: Qt CI Bot <[email protected]>
* CdbExt: Fix Python-C API handlingv7.0.0-beta1Christian Stenger2022-02-102-2/+2
| | | | | | | | From 3.10 onwards we need an additional macro when parsing and building values. Change-Id: Ia0bcdde467d87a1c7d22ec8657e050cdf5f1e52e Reviewed-by: David Schulz <[email protected]>
* CMake build: Fix static build of cdbext and sdktoolEike Ziller2022-02-041-12/+3
| | | | | | | | | | Remove workaround for building statically, which was required for CMake < 3.15. Since we increase the CMake requirement to 3.16, the /MD option is no longer part of the CXX_FLAGS variables, so the old workaround breaks the static build of these tools. Change-Id: Ifc4b1c81210777e1274b4907feb3b023f7454191 Reviewed-by: Christian Stenger <[email protected]>
* Require CMake 3.16 and remove workaroundsEike Ziller2022-02-021-14/+6
| | | | | | | | | CMake 3.16 is available on the major Linux distributions nowadays, so we can get rid of some workarounds. Change-Id: I32500375748f33c3e40fbd7a08824d823f817a8f Reviewed-by: Cristian Adam <[email protected]> Reviewed-by: Qt CI Bot <[email protected]>
* Remove qmake build filesEike Ziller2022-01-201-122/+0
| | | | | | | | | | Removes qmake as a build system for building Qt Creator itself. Keep them for some tests that are not completely moved to CMake yet. Change-Id: I846c6ef65626b6dfae6375fdc85d00677aa8c2fb Reviewed-by: hjk <[email protected]> Reviewed-by: Christian Kandeler <[email protected]> Reviewed-by: Christian Stenger <[email protected]>
* CMake: Use newer FindPython3 module for CMake version greater than 3.12Cristian Adam2022-01-191-1/+10
| | | | | | | | | | FindPythonInterp and FindPythonLibs are deprecated since CMake 3.12. Fixes: QTCREATORBUG-26727 Change-Id: I53400d49ef6888bbeabb063a873c494b11d27e15 Reviewed-by: <[email protected]> Reviewed-by: Eike Ziller <[email protected]> Reviewed-by: Qt CI Bot <[email protected]>
* CDB: always set stop reason when handling exceptionsDavid Schulz2021-11-221-2/+2
| | | | | | | | | Otherwise we get an unknown stop reason which might get handled differently in the cdbengine. Fixes: QTCREATORBUG-26506 Change-Id: Ia1622977631190d43a6b599b58410953cd2add6e Reviewed-by: Christian Stenger <[email protected]>
* Use lowercase for Windows header for supporting cross-compilationOrgad Shaneh2021-09-272-2/+2
| | | | | | | | | | Linux mingw uses lowercase headers, so cross-building on Linux for Windows target must use the correct form. Windows is case-insensitive, so it won't affect host-native builds. Change-Id: Ic2140412bb367bbce83b5e2546d70e0936928c5c Reviewed-by: André Hartmann <[email protected]> Reviewed-by: David Schulz <[email protected]>
* cdbext: fix c++17 deprecation warningDavid Schulz2021-09-241-1/+6
| | | | | | Change-Id: I2d06f602b4b229d1dec1dc1924e473f6b7aa4f68 Reviewed-by: Kai Koehne <[email protected]> Reviewed-by: Christian Stenger <[email protected]>
* CMake: Remove major version number dll suffixCristian Adam2021-09-101-1/+0
| | | | | | | | | | | | This was done to have qmake parity when we compared the qmake and cmake release builds. Since we are past that now, and the cmake build is the one used to do releases, we can drop the number from the dlls. Change-Id: I60d1b368daf4258884c239204c2e3c18f244e930 Reviewed-by: Orgad Shaneh <[email protected]> Reviewed-by: Eike Ziller <[email protected]>
* CMake build: Make it possible to separately build wininterrupt & cdbextEike Ziller2021-02-231-1/+19
| | | | | | | | | | By making them separate projects. Follow the pattern from sdktool. This is needed for building these tools on Windows 32bit for the Qt6-based installers - because Qt 6 doesn't provide Windows 32bit builds anymore. Change-Id: I82e2fdc7312e95079bb13f8c5f0ac1028c09222f Reviewed-by: Cristian Adam <[email protected]>
* Merge remote-tracking branch 'origin/4.14'Tim Jenssen2021-01-071-5/+3
|\ | | | | | | Change-Id: I70504e096be620434f38cd990c593950da8b24ba
| * CdbExt: correctly escape python messagesDavid Schulz2021-01-061-5/+3
| | | | | | | | | | | | | | | | | | | | Messages from python that contain a path like deprecation warnings contain backslashes. These unescaped backslashes result in parse errors on the creator side: "MI Parse Error, unrecognized backslash escape" Change-Id: Ic6eb6e1d95b18a653767a5b64030d755f6e8970a Reviewed-by: Christian Stenger <[email protected]>
* | CMake: Use copy_if_different for python dependency filesCristian Adam2021-01-061-1/+1
| | | | | | | | | | | | | | | | Using "copy" would always copy the files on build, which is suboptimal. Change-Id: I8c80732124a6642acae03220f3d43074cece4526 Reviewed-by: David Schulz <[email protected]>
* | Merge remote-tracking branch 'origin/4.14'Eike Ziller2020-12-141-1/+5
|\| | | | | | | Change-Id: I842a7c7358fd0ff6d85c151806e440043914e09a
| * CMake: add _d filename suffix to python.zip for the cdbextensionDavid Schulz2020-12-141-1/+5
| | | | | | | | | | | | | | | | ... for debug builds Change-Id: Ia5279aff3658518b946cee3c910b885c5376bfe1 Reviewed-by: Eike Ziller <[email protected]> Reviewed-by: Cristian Adam <[email protected]>
* | Merge remote-tracking branch 'origin/4.14'Eike Ziller2020-11-251-0/+2
|\| | | | | | | | | | | | | | | Conflicts: src/plugins/designer/cpp/formclasswizard.h src/plugins/designer/cpp/formclasswizarddialog.h Change-Id: I9f9d166e1a9249022305503f9cbe571136c2a2b1
| * CDB: fix signed char container dumperDavid Schulz2020-11-201-0/+2
| | | | | | | | | | | | | | | | | | "signed char" might be reported as a template type but cannot be found when looked up, so just strip the "signed" from the typename and lookup char. Change-Id: I70e3b27d5c3bfd9e65da0a9f14b6a2df2c7e8dde Reviewed-by: Christian Stenger <[email protected]>
* | Don't access static functions/fields via instanceAlessandro Portale2020-11-191-1/+1
|/ | | | | | | Courtesy of readability-static-accessed-through-instance Change-Id: I71f54244f1e091315dac2943d9e1bfad6efa56a9 Reviewed-by: Jarek Kobus <[email protected]>