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.4k Posts
  • Textboxes change size when layout added in Qt5 Designer

    Solved
    7
    0 Votes
    7 Posts
    331 Views
    JonBJ
    @Shap QPlainTextEdit will (should) behave the same as QTextEdit so far as sizing is concerned. They are both for multiline input, and can grow vertically. QLineEdit is for single-line input, and would not grow vertically. Same as the other widgets you talked about.
  • SVG file in qhelpgenerator / assistant

    Unsolved
    23
    0 Votes
    23 Posts
    3k Views
    S
    I finally managed to get proper help back again, so I'm sharing the solution juuuust in case some other lost soul comes here in search of an answer. Clone the QtCreator source code. Checkout version v7.0.2 (this is the last version that supports Qt5). Build it against Qt5. Select "QtWebEngine" as the help renderer. Not only did rolling back to v7.0.2 + Qt5 give me proper help, but it also fixed a whole plethora of other annoying bugs. And even if there was any actual functionality added since that version, I didn't notice it, so I didn't even lose anything. [image: 681d75c2-ecb0-4a7a-8680-f0fa0267bf36.png]
  • Upgrading from QT 5.13.1 to QT 5.15.2

    Unsolved
    4
    0 Votes
    4 Posts
    174 Views
    JoeCFDJ
    @AlGig Newer versions of Qt may not support the old Android versions and hardware. The Android version in my phone is 14. It may not make a lot of sense to work with Android 6.
  • Qt Assistant - annoying popup every time I select topic from Index

    Unsolved
    3
    0 Votes
    3 Posts
    272 Views
    B
    @kkoehne Thank you! I had forgotten I had posted this!
  • 0 Votes
    12 Posts
    2k Views
    D
    I thought linuxdeployqt does not support Qt6.x.x? Is there an alternative AppImage method that works for Qt6?
  • edit page slide bug

    Moved Unsolved
    2
    0 Votes
    2 Posts
    115 Views
    jsulmJ
    @cuijg Could be a bug. You should report it on Qt Bug Tracker: https://bugreports.qt.io/secure/Dashboard.jspa
  • 0 Votes
    19 Posts
    11k Views
    N
    @weiluI also ran into this problem. I couldn't find a solution to this problem. If you find one, could you explain it? I can add files manually through CMakeLists.txt, but I'd prefer to add them without it
  • Qt Creator 17 extension registry

    2
    5 Votes
    2 Posts
    172 Views
    piervalliP
    Nice! Thanks
  • Qt Debugger Shows Only Disassembler View

    Moved Unsolved
    3
    0 Votes
    3 Posts
    226 Views
    Axel SpoerlA
    Which version of Qt Creator are you using? On which operating system are you debugging? In case you remote-debug on Android, you might be affected by this bug: https://bugreports.qt.io/browse/QTCREATORBUG-29928
  • Is it possible to use GitHub Copilot with QtCreator on macOS?

    Unsolved
    2
    0 Votes
    2 Posts
    138 Views
    SGaistS
    Hi and welcome to devnet, Did you enable the plug-in as suggested in the documentation ?
  • CMake warning : the target is mentionned as dependency but not declared

    Solved
    5
    0 Votes
    5 Posts
    377 Views
    Christian EhrlicherC
    @ankou29666 said in CMake warning : the target is mentionned as dependency but not declared: guess that importing Qt::HttpServer module also brings Qt::Concurrent and Qt::Network as implicit dependencies, that don't need to be declared explicitly ? correct, that's why you have to use PRIVATE, PUBLIC and INTERFACE in your target_link_libraries() call: https://cmake.org/cmake/help/latest/command/target_link_libraries.html#libraries-for-a-target-and-or-its-dependents
  • This topic is deleted!

    Unsolved
    1
    0 Votes
    1 Posts
    5 Views
    No one has replied
  • How to dynamically generate files in the build directory?

    Solved
    10
    0 Votes
    10 Posts
    581 Views
    J
    Ahhh, I see... now that I've taken a break, I didn't realize that my entire process was flawed. The user is going to be adding files to the folder at any point in time, so of course it wouldn't be best to generate those files at compile time, lol. Like you've mentioned, I'll just monitor the folder within C++ and have QML react to the changes. Thank you for the help!
  • This topic is deleted!

    Unsolved
    1
    0 Votes
    1 Posts
    20 Views
    No one has replied
  • Qt Creator 17 released

    1
    1 Votes
    1 Posts
    156 Views
    No one has replied
  • Creator very very very slow on finding/creating slot funktion from designer

    Unsolved
    6
    0 Votes
    6 Posts
    821 Views
    Axel SpoerlA
    Whatever it is, it has to do something with your PC or your project. I am using Creator every day on a 3 year old HP ZBook with 64 GB of RAM and openSuSE Tumbleweed. It literally takes milliseconds to find slot functions. Besides, a nice feature for the Designer would be, if on can see in the slot list if a slot funktion exists yet. A * sign or so. Sometimes I have not the overview what kind of slots are connected und I must check it all - what is very slow now. The widget designer shows a list of signals. You can use the autoconnect feature with the on_<ui-element>_<signal-name> syntax. You can also manually connect to a slot named differently. You can use multiple connections, which you set up and disconnect at run time. The "Go to slot" function just implements the autoconnect version in the cpp file that includes the code generated from the form. If the slot is already implemented, it makes Creator jump to it. The logic of when to put an asterisk isn't trivial. The question makes me think whether the cpp file with your implementation is actually super-huge and somehow slowing Creator down. Can you boil the issue down to a small, compilable reproducer?
  • On Windows QtCreator, the Wait Cursor appears every 10 seconds.

    Unsolved
    6
    0 Votes
    6 Posts
    483 Views
    aha_1980A
    @Marian-Saenger-DE can you post a link to the bugreport here so others can follow? Thanks!
  • Getting error finding Qt versions and kits after changing the Qt location.

    Unsolved
    4
    0 Votes
    4 Posts
    264 Views
    jsulmJ
    @surajgoswami You would need to patch the binaries (Qt libs) to change the rpath, but reinstalling Qt is easier.
  • Is it possible to have a segment fault because of the QML debugging ?

    Solved segfault debugger
    9
    0 Votes
    9 Posts
    732 Views
    A
    indeed, now there was a button
  • “at least one required feature is not present” error

    Solved
    5
    0 Votes
    5 Posts
    543 Views
    H
    Hi, I have same problem, I try to do too many things but, It can not be solved.Caould you help me?Thank you.