Skip to content

Qt Creator and other tools

Have a question about Qt Creator, our cross-platform IDE, or any of the other tools? Ask here!
7.6k Topics 35.5k Posts
  • MAC development environment

    Unsolved
    3
    0 Votes
    3 Posts
    400 Views
    C
    Thanks SGaist, That gives me a starting point. Clive
  • Qt Installer 3.1.0: change package category using the scripting api

    Solved
    6
    0 Votes
    6 Posts
    890 Views
    D
    @Katja-Marttila Thank you very much! The code snippet seems to be exactly what i was looking for. And I really appreciate the effort to keep the documentation up to date.
  • QtCreator keys shortcuts scripts

    Moved Unsolved
    6
    0 Votes
    6 Posts
    1k Views
    aha_1980A
    @Bremenpl and @arsinte_andrei, as @VRonin said, in next Creator 4.10 this will work with simple rebuild. In older versions, you have to do it by hand. Regards
  • Pretty Printer for std::vector not working

    Solved
    14
    0 Votes
    14 Posts
    4k Views
    T
    Hi again, I just solved both issues, displaying std::vector item values and hanging of gdb in qtcreator 4.9: If I switch on both "Use Debugging Helper" and "Load system GDB pretty printers", gdb hangs on the first breakpoint. If one of them is switched off, gdb works properly. But "Load system GDB pretty printers" seems to be useless for me now, and "Use Debugging Helper" provides exactly that functionality I missed here. Best Regards tkansgar
  • How to install Qt examples?

    Unsolved
    4
    0 Votes
    4 Posts
    2k Views
    sierdzioS
    Ah, I was a moment too late :-)
  • QT Designer wont run

    Unsolved qt designer qt5 msvc2017 windows 10
    9
    0 Votes
    9 Posts
    5k Views
    S
    Thanks for your help with this. The Qt Creator editor is a good alternative. I did run Dependency Walker - long time since I have looked at the output from this and not sure what I am seeing right now, but I've pasted the an abreviated version of the output below (too long to paste the whole thing) if it tells you something. Thanks again. | System Information | | Search Order | * Legend: F File E Error (path not valid) * * Side-by-Side components (Windows 2000/XP/2003/Vista/+) [F ] c:\windows\winsxs\x86_microsoft.windows.common-controls_6595b64144ccf1df_6.0.14393.2938_none_c58b03c797c07d8c\COMCTL32.DLL [F ] c:\windows\winsxs\x86_microsoft.windows.gdiplus_6595b64144ccf1df_1.1.14393.2969_none_f678e0c2f2505d00\GDIPLUS.DLL The system's "KnownDLLs" list [F ] c:\windows\system32\ADVAPI32.DLL [F ] c:\windows\system32\BCRYPTPRIMITIVES.DLL [F ] c:\windows\system32\CFGMGR32.DLL [F ] c:\windows\system32\CLBCATQ.DLL [F ] c:\windows\system32\COMBASE.DLL [F ] c:\windows\system32\COMCTL32.DLL [F ] c:\windows\system32\COMDLG32.DLL [F ] c:\windows\system32\COML2.DLL [F ] c:\windows\system32\CRYPT32.DLL [F ] c:\windows\system32\DIFXAPI.DLL [F ] c:\windows\system32\GDI32.DLL [F ] c:\windows\system32\GDI32FULL.DLL [F ] c:\windows\system32\GDIPLUS.DLL [F ] c:\windows\system32\IMAGEHLP.DLL [F ] c:\windows\system32\IMM32.DLL [F ] c:\windows\system32\KERNEL.APPCORE.DLL [F ] c:\windows\system32\KERNEL32.DLL [F ] c:\windows\system32\KERNELBASE.DLL [F ] c:\windows\system32\LPK.DLL [F ] c:\windows\system32\MSASN1.DLL [F ] c:\windows\system32\MSCTF.DLL [F ] c:\windows\system32\MSVCP_WIN.DLL [F ] c:\windows\system32\MSVCRT.DLL [F ] c:\windows\system32\NORMALIZ.DLL [F ] c:\windows\system32\NSI.DLL [F ] c:\windows\system32\NTDLL.DLL [F ] c:\windows\system32\NTDLL.DLL [F ] c:\windows\system32\OLE32.DLL [F ] c:\windows\system32\OLEAUT32.DLL [F ] c:\windows\system32\POWRPROF.DLL [F ] c:\windows\system32\PROFAPI.DLL [F ] c:\windows\system32\PSAPI.DLL [F ] c:\windows\system32\RPCRT4.DLL [F ] c:\windows\system32\SECHOST.DLL [F ] c:\windows\system32\SETUPAPI.DLL [F ] c:\windows\system32\SHCORE.DLL [F ] c:\windows\system32\SHELL32.DLL [F ] c:\windows\system32\SHLWAPI.DLL [F ] c:\windows\system32\UCRTBASE.DLL [F ] c:\windows\system32\USER32.DLL [F ] c:\windows\system32\WIN32U.DLL [F ] c:\windows\system32\WINDOWS.STORAGE.DLL [F ] c:\windows\system32\WINTRUST.DLL [F ] c:\windows\system32\WLDAP32.DLL [F ] c:\windows\system32\WOW64.DLL [F ] c:\windows\system32\WOW64CPU.DLL [F ] c:\windows\system32\WOW64WIN.DLL [F ] c:\windows\system32\WS2_32.DLL The application directory [ ] C:\Qt\5.12.3\msvc2015_64\bin The 32-bit system directory [ ] C:\Windows\system32 The 16-bit system directory (Windows NT/2000/XP/2003/Vista/+) [ ] C:\Windows\system The system's root OS directory [ ] C:\Windows The application's registered "App Paths" directories The system's "PATH" environment variable directories [ ] C:\Program Files\Microsoft MPI\Bin [ ] C:\Windows\system32 [ ] C:\Windows [ ] c:\Qt\5.12.3\bin\ | Module Dependency Tree | * Legend: F Forwarded Module ? Missing Module 6 64-bit Module * D Delay Load Module ! Invalid Module * * Dynamic Module E Import/Export Mismatch or Load Failure * ^ Duplicate Module * * [ 6] DESIGNER.EXE [ 6] QT5DESIGNERCOMPONENTS.DLL [ ^6] QT5DESIGNER.DLL [ ^6] QT5WIDGETS.DLL [ ^6] QT5GUI.DLL [ ^6] QT5XML.DLL [ ^6] QT5CORE.DLL [ E ] KERNEL32.DLL [FE ] NTDLL.DLL [ E ] VCRUNTIME140.DLL [ ^6] API-MS-WIN-CRT-RUNTIME-L1-1-0.DLL [FE ] UCRTBASE.DLL [ ^6] API-MS-WIN-CRT-STRING-L1-1-0.DLL [FE ] UCRTBASE.DLL [ ^6] API-MS-WIN-CRT-HEAP-L1-1-0.DLL [FE ] UCRTBASE.DLL [ 6] QT5DESIGNER.DLL [ ^6] QT5WIDGETS.DLL [ ^6] QT5GUI.DLL [ ^6] QT5XML.DLL [ ^6] QT5CORE.DLL [ E ] MSVCP140.DLL [ E ] VCRUNTIME140.DLL [ ^6] API-MS-WIN-CRT-HEAP-L1-1-0.DLL [FE ] UCRTBASE.DLL [ ^6] API-MS-WIN-CRT-LOCALE-L1-1-0.DLL [FE ] UCRTBASE.DLL [ ^6] API-MS-WIN-CRT-STRING-L1-1-0.DLL [FE ] UCRTBASE.DLL [ ^6] API-MS-WIN-CRT-RUNTIME-L1-1-0.DLL [FE ] UCRTBASE.DLL [ ^6] API-MS-WIN-CRT-STDIO-L1-1-0.DLL [FE ] UCRTBASE.DLL [ E6] API-MS-WIN-CRT-MATH-L1-1-0.DLL [FE ] UCRTBASE.DLL [ ^6] API-MS-WIN-CRT-CONVERT-L1-1-0.DLL [FE ] UCRTBASE.DLL [ ^6] API-MS-WIN-CRT-FILESYSTEM-L1-1-0.DLL [FE ] UCRTBASE.DLL [ ^6] API-MS-WIN-CRT-TIME-L1-1-0.DLL [FE ] UCRTBASE.DLL [ ^6] API-MS-WIN-CRT-ENVIRONMENT-L1-1-0.DLL [FE ] UCRTBASE.DLL [ ^6] API-MS-WIN-CRT-UTILITY-L1-1-0.DLL [FE ] UCRTBASE.DLL [ E ] KERNEL32.DLL [FE ] NTDLL.DLL [DE ] CONCRT140.DLL [ E ] MSVCP140.DLL [ E ] VCRUNTIME140.DLL [ ^6] API-MS-WIN-CRT-RUNTIME-L1-1-0.DLL [FE ] UCRTBASE.DLL [ ^6] API-MS-WIN-CRT-HEAP-L1-1-0.DLL [FE ] UCRTBASE.DLL [ E6] API-MS-WIN-CRT-MATH-L1-1-0.DLL [ ^6] API-MS-WIN-CRT-STRING-L1-1-0.DLL [FE ] UCRTBASE.DLL [ ^6] API-MS-WIN-CRT-STDIO-L1-1-0.DLL [FE ] UCRTBASE.DLL [ E ] KERNEL32.DLL [FE ] NTDLL.DLL [ E ] KERNEL32.DLL [FE ] NTDLL.DLL [ E ] VCRUNTIME140.DLL [ ^6] API-MS-WIN-CRT-MATH-L1-1-0.DLL [FE ] UCRTBASE.DLL [ ^6] API-MS-WIN-CRT-RUNTIME-L1-1-0.DLL [FE ] UCRTBASE.DLL [ ^6] API-MS-WIN-CRT-STRING-L1-1-0.DLL [FE ] UCRTBASE.DLL [ ^6] API-MS-WIN-CRT-STDIO-L1-1-0.DLL [FE ] UCRTBASE.DLL [ ^6] API-MS-WIN-CRT-HEAP-L1-1-0.DLL [FE ] UCRTBASE.DLL [ 6] QT5PRINTSUPPORT.DLL [ ^6] QT5WIDGETS.DLL [ ^6] QT5GUI.DLL [ ^6] QT5CORE.DLL [ E ] WINSPOOL.DRV [ E ] COMDLG32.DLL [ E ] GDI32.DLL [ E ] USER32.DLL [ E ] KERNEL32.DLL [FE ] NTDLL.DLL [ E ] VCRUNTIME140.DLL [ ^6] API-MS-WIN-CRT-STDIO-L1-1-0.DLL [FE ] UCRTBASE.DLL [ ^6] API-MS-WIN-CRT-HEAP-L1-1-0.DLL [FE ] UCRTBASE.DLL [ ^6] API-MS-WIN-CRT-MATH-L1-1-0.DLL [FE ] UCRTBASE.DLL [ ^6] API-MS-WIN-CRT-RUNTIME-L1-1-0.DLL [FE ] UCRTBASE.DLL [ 6] QT5WIDGETS.DLL [ ^6] QT5GUI.DLL [ ^6] QT5CORE.DLL [ E ] UXTHEME.DLL [ E ] MSVCRT.DLL [ ? ] API-MS-WIN-CORE-LIBRARYLOADER-L1-2-0.DLL [ E6] API-MS-WIN-CORE-SYNCH-L1-2-0.DLL [FE ] KERNEL32.DLL [FE6] API-MS-WIN-CORE-SYNCH-L1-1-0.DLL [ ? ] API-MS-WIN-CORE-HEAP-L1-2-0.DLL [ ? ] API-MS-WIN-CORE-ERRORHANDLING-L1-1-1.DLL [ ? ] API-MS-WIN-CORE-PROCESSTHREADS-L1-1-2.DLL [ ? ] API-MS-WIN-CORE-LOCALIZATION-L1-2-1.DLL [ ? ] API-MS-WIN-CORE-DEBUG-L1-1-1.DLL [ ^6] API-MS-WIN-CORE-HANDLE-L1-1-0.DLL [FE ] KERNEL32.DLL [ ? ] API-MS-WIN-CORE-SYSINFO-L1-2-1.DLL [ ? ] API-MS-WIN-CORE-LIBRARYLOADER-L1-2-2.DLL [ ? ] API-MS-WIN-CORE-FILE-L1-2-1.DLL [ ^6] API-MS-WIN-CORE-STRING-L1-1-0.DLL [FE ] KERNEL32.DLL [ ^6] API-MS-WIN-CORE-UTIL-L1-1-0.DLL [FE ] KERNEL32.DLL [FE ] NTDLL.DLL [ ? ] API-MS-WIN-CORE-WINRT-ERROR-L1-1-1.DLL [ ? ] API-MS-WIN-CORE-REGISTRY-L1-1-0.DLL [ ? ] API-MS-WIN-SECURITY-BASE-L1-2-0.DLL [ ? ] API-MS-WIN-CORE-HEAP-L2-1-0.DLL [ ? ] API-MS-WIN-CORE-MEMORY-L1-1-2.DLL [ ^6] API-MS-WIN-CORE-PROFILE-L1-1-0.DLL [FE ] KERNEL32.DLL [ ? ] API-MS-WIN-CORE-STRING-L2-1-0.DLL [ ? ] API-MS-WIN-CORE-PROCESSENVIRONMENT-L1-2-0.DLL [ ^6] API-MS-WIN-CORE-TIMEZONE-L1-1-0.DLL [FE ] KERNEL32.DLL [ ? ] API-MS-WIN-CORE-SIDEBYSIDE-L1-1-0.DLL [ ? ] API-MS-WIN-CORE-ATOMS-L1-1-0.DLL [ ? ] API-MS-WIN-CORE-KERNEL32-LEGACY-L1-1-1.DLL [ ? ] API-MS-WIN-CORE-STRING-OBSOLETE-L1-1-0.DLL [ ? ] API-MS-WIN-CORE-SHLWAPI-OBSOLETE-L1-2-0.DLL [ ? ] API-MS-WIN-CORE-LOCALIZATION-OBSOLETE-L1-3-0.DLL [ E ] NTDLL.DLL [ E ] GDI32.DLL [ E ] USER32.DLL [FE ] NTDLL.DLL [ ? ] API-MS-WIN-CORE-DELAYLOAD-L1-1-1.DLL [D? ] API-MS-WIN-CORE-COM-L1-1-1.DLL [DE ] OLEAUT32.DLL [D? ] API-MS-WIN-CORE-WINRT-STRING-L1-1-0.DLL [D? ] API-MS-WIN-SECURITY-SDDL-L1-1-0.DLL [DE ] CRYPTSP.DLL [DE ] DWMAPI.DLL [DE ] WINDOWSCODECS.DLL ... | Module List |* * Legend: D Delay Load Module ? Missing Module 6 64-bit Module * * Dynamic Module ! Invalid Module * E Import/Export Mismatch or Load Failure * * Module File Time Stamp Link Time Stamp File Size Attr. Link Checksum Real Checksum CPU Subsystem Symbols Preferred Base Actual Base Virtual Size Load Order File Ver Product Ver Image Ver Linker Ver OS Ver Subsystem Ver [ ? ] API-MS-WIN-CORE-APIQUERY-L1-1-0.DLL Error opening file. The system cannot find the file specified (2). [ ? ] API-MS-WIN-CORE-APPCOMPAT-L1-1-1.DLL Error opening file. The system cannot find the file specified (2). [ ? ] API-MS-WIN-CORE-APPINIT-L1-1-0.DLL Error opening file. The system cannot find the file specified (2). [ ? ] API-MS-WIN-CORE-ATOMS-L1-1-0.DLL Error opening file. The system cannot find the file specified (2). [ ? ] API-MS-WIN-CORE-CALENDAR-L1-1-0.DLL Error opening file. The system cannot find the file specified (2). [ ? ] API-MS-WIN-CORE-COM-L1-1-0 Error opening file. The system cannot find the file specified (2). [ ? ] API-MS-WIN-CORE-COM-L1-1-1.DLL Error opening file. The system cannot find the file specified (2). [ ? ] API-MS-WIN-CORE-COM-MIDLPROXYSTUB-L1-1-0.DLL Error opening file. The system cannot find the file specified (2). | Log |* Error: At least one required implicit or forwarded dependency was not found. Error: At least one module has an unresolved import due to a missing export function in an implicitly dependent module. Error: Modules with different CPU types were found. Error: A circular dependency was detected. Warning: At least one delay-load dependency module was not found. Warning: At least one module has an unresolved import due to a missing export function in a delay-load dependent module.
  • Add module for unix only

    Solved
    3
    0 Votes
    3 Posts
    500 Views
    M
    I knew it was something stupid, thanks
  • Qt Installer Framework 7zip exception not enough memory

    Unsolved ifw
    1
    0 Votes
    1 Posts
    416 Views
    No one has replied
  • Unable to add file to project

    Unsolved
    6
    0 Votes
    6 Posts
    2k Views
    Cobra91151C
    Yes, there is a bug with Qt Creator using PyQt5. The problem: it fails to parse/add files properly to the project. For example: main.pyproject main.py test1.py test2.py test3.py To temporarily fix this issue you have to do it manually: { "files": ["main.py", "test1.py", "test2.py", "test3.py"] } So, issue is that it parses .py files line by line, but instead it should be added to the array. I will also add this information here: https://bugreports.qt.io/browse/QTCREATORBUG-22393. Happy coding!
  • Help with programatically adding kit, debugger and device data

    Unsolved
    5
    0 Votes
    5 Posts
    762 Views
    I
    Yes, the sdktool is the "API" to add kits etc. to creator. The Qt installers use the sdktool.
  • Package.xml without version

    Unsolved
    2
    0 Votes
    2 Posts
    394 Views
    I
    @user2301 said in Package.xml without version: t, If i dont specify the version it will show Yes, "Version" is mandatory value for every IFW component. The version number is the mechanism to promote updates (online) to users. For example if you wanted to change the display name in some root component you want to promote that as an update for the online (installer) users. The installer "sees" the updates when componet's Version number has increased.
  • Can't see types from my QML Designer plugin in 'QML Types' section in designer.

    Solved
    5
    0 Votes
    5 Posts
    1k Views
    T
    I created a bug report: https://bugreports.qt.io/browse/QDS-804
  • Qt Design Studio components

    Unsolved
    2
    0 Votes
    2 Posts
    402 Views
    T
    There is an example how to integrate Qt 3D Studio projects in our example playground: https://git.qt.io/public-demos/qtdesign-studio/tree/master/playground/robotarm
  • Visual Studio 2017: show structure guide lines for .qml file

    Unsolved
    1
    0 Votes
    1 Posts
    236 Views
    No one has replied
  • Flashing QtCreator interface

    Unsolved
    5
    0 Votes
    5 Posts
    1k Views
    B
    I have been seeing the same symptoms in Qt Creator for a while - currently I'm on Qt Creator 4.9.1 on macOS Mojave 10.14.5. The issue was accurately described - the grey border on the left, top, and bottom flickers light grey and dark grey in step with the cursor flickering on and off. The flickering goes away for a bit if I quit and restart Qt. I have tried switching color schemes, and that only helps in the sense that the flickering is less noticeable when it occurs, but it does not eliminate it and it is still noticeable. I believe I started seeing this issue after I upgraded to Mojave which introduced dark mode, but perhaps it was there before, when I upgraded Qt Creator. Has someone already filed a bug for this, or do we need to do that?
  • QtQuick Compiler in CMake

    Unsolved
    1
    0 Votes
    1 Posts
    1k Views
    No one has replied
  • Compiling with CMake for Android

    Unsolved
    1
    0 Votes
    1 Posts
    559 Views
    No one has replied
  • Handling resource files with CMake in QtCreator

    Unsolved
    4
    0 Votes
    4 Posts
    960 Views
    L
    I'm running Qt Creator 4.9.0/4.9.1 on windows 10. I filed a bug report. For now I solved it by adding it to add_executable using a variable I comment out.
  • Running Valgrind under Qt Creater

    Unsolved valgrind qt5 memory leak memory analyzer
    5
    0 Votes
    5 Posts
    2k Views
    E
    @aha_1980 That's what I thought. If I manually start valgrid it runs fine, it produces a report as well. I just wanted to make it work with Qt because it looks more convenient. I'll try updating Qt creator later on. Thanks
  • QtCreator font configuration problems

    Unsolved
    1
    0 Votes
    1 Posts
    242 Views
    No one has replied