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.3k Posts
  • QtCreator Application Output text coloring

    Solved
    13
    0 Votes
    13 Posts
    3k Views
    Marcus Sonestedt - CellinkM
    Check if parent process's filename = qtcreator and adapt? :) Developer comforts matter. I think it makes sense.
  • Cross-compilation for Jetson orin nx

    Locked Unsolved
    2
    0 Votes
    2 Posts
    343 Views
    aha_1980A
    Please don't post the same question multiple times: https://forum.qt.io/topic/158456/qt-cross-compilation-for-jetson-orin-nx I'm closing this one now.
  • Wierd Error

    Solved
    5
    0 Votes
    5 Posts
    419 Views
    Y
    @JonB ok, thanks. I didn't understand where should I write the global variable, and didn't understand where should I write the extern word, but now I can understand so much! Thank you! And for @Christian-Ehrlicher
  • 0 Votes
    3 Posts
    339 Views
    Y
    @hskoglund thank you so much, you really helped me, really thank you so much!
  • Qt Creator C++ Indentation Problems

    Solved
    3
    0 Votes
    3 Posts
    358 Views
    KenAppleby 0K
    Thanks, yes, I have copied the preset. It was the hunt through the various properties I was failing at. The one I need is "NamespaceIndentation", unsurprisingly, but I was assuming the value it took was the number of spaces. It should be the string "All".
  • how to use libusb to detect usb ports in qt

    Unsolved
    4
    0 Votes
    4 Posts
    479 Views
    artwawA
    @Chakravarthi-N You can enumerate devices using this method https://libusb.sourceforge.io/api-1.0/group__libusb__dev.html#gac0fe4b65914c5ed036e6cbec61cb0b97 Bus and port numbers can also be obtained using methods like this one https://libusb.sourceforge.io/api-1.0/group__libusb__dev.html#gaf2718609d50c8ded2704e4051b3d2925
  • Making a Browser from scratch with qt and making The rendering engine

    Unsolved
    3
    0 Votes
    3 Posts
    445 Views
    D
    thanks , but i was thinking of making some kind of a rendering engine with something similar to SDL or maybe Pygame using python-script instead of JavaScript, the app and the whole interface will be in qt and all the stuff related to networking and interaction with the OS ,Tab management, etc , but i want a 2D engine so that i can make the web pages and maybe some custom tags
  • permission in MacOS during development

    Unsolved
    6
    0 Votes
    6 Posts
    772 Views
    J.HilkJ
    @Jan-Menssen CMake is an open-source, cross-platform build system generator. It's used to manage the build process in a compiler-independent manner. CMake controls the software compilation process using simple platform and compiler-independent configuration files, known as CMakeLists.txt, and generates native build environments. CMake is not limited to a single programming language. It is designed to be multi-language and can be used with various programming languages. While CMake is most commonly associated with C and C++ projects, it supports many other languages, including: C C++ Fortran CUDA Objective-C ASM (Assembly Language) Swift Java Python Rust to name only a few. I'm not a Python expert, but from a quick search: The pyproject.toml file in a Python project doesn't directly handle macOS bundle creation or Info.plist files. For such tasks, you typically use tools like py2app in conjunction with setuptools or another compatible build system. You'll need to define the Info.plist configuration in a setup.py or setup.cfg and run the appropriate bundling command.
  • Launching Debugge error

    Solved
    8
    0 Votes
    8 Posts
    2k Views
    aha_1980A
    @cristian-adam Thanks, this looks like the preferred solution, as no other changes to the developed program are needed. E.g. newer compilers or runtime libraries can have unwanted side-effects.
  • Qt Creator: Turn off "Add to project" for new files by default?

    Unsolved
    3
    0 Votes
    3 Posts
    245 Views
    A
    I guess using file(GLOB...) just to prevent the cmakelists.txt from opening is overkill :-)
  • Change git realm in a project

    Solved
    3
    0 Votes
    3 Posts
    240 Views
    SeDiS
    Cool, that was easier than I'd thought! After that I just had to got to "Tools|Git|Create Repository", then I could initially commit. Thanks loads!
  • How to reset the Workspace/UI layout of Qt Creator/Qt Design Studio?

    Unsolved
    1
    1 Votes
    1 Posts
    207 Views
    No one has replied
  • Qt Creator plugin CMakeLists.txt is corrupted upon project creation

    Moved Unsolved plugin cmake
    3
    0 Votes
    3 Posts
    667 Views
    cristian-adamC
    Arch does package qtcreator-devel. See https://archlinux.org/packages/extra/x86_64/qtcreator-devel/
  • No search button in help

    Moved Unsolved
    2
    0 Votes
    2 Posts
    173 Views
    sierdzioS
    You need to open the left panel (Alt+Zero), that's where search box resides.
  • Cloning Widget in TabWidget

    Unsolved
    5
    0 Votes
    5 Posts
    428 Views
    Y
    Hi ! It Work perfectly !! Thank you very much !!
  • How to run gdb commands from qtcreator debugger?

    Moved Solved
    9
    0 Votes
    9 Posts
    4k Views
    M
    There are no Views menu under Window anymore in the QtCreator 14, however the Debugger log could be reached this way: [image: 439fdf99-c3c3-493a-9028-bd8cb2e203df.png] Added for the shake of the posterity as It took me a while to figure this out.
  • Docking the Property Editor in Qt Designer itself

    Solved
    2
    0 Votes
    2 Posts
    266 Views
    L
    I re-named the file $HOME/.config/QtProject/Desginer.conf and the right side tools are now docked again. Kinda brute force, but it worked. I did have to insert the line: FormTemplate=Widget to get the start up to show a Widget instead of the dialog box. You can pick whichever form you'd like.
  • How to make Editor script without creating a plugin

    Unsolved
    1
    0 Votes
    1 Posts
    107 Views
    No one has replied
  • 0 Votes
    3 Posts
    213 Views
    Z
    My Qt creator version is 14.0.1, is the problem still unresolved?
  • Failed to create a project using Qt Creator 14.0.1

    Unsolved
    2
    0 Votes
    2 Posts
    406 Views
    H
    Have a look at https://bugreports.qt.io/browse/QTCREATORBUG-31355