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.2k Posts
  • Testing Android APK with QtCreator fails with an error.

    Unsolved
    33
    0 Votes
    33 Posts
    537 Views
    SMF-QtS
    @SMF-Qt Ok thanks for the suggestions I now have a working X86_64 emulator and an X86_64 apk build that deploys to the emulated phone. My next problem is that the deployed app crashes on startup, but to investigate that I think I will start a new thread and come back to the arm64-v8a problems when my test application is more usable. ... Installing Android package to device. Running command "/opt/android/sdk/platform-tools/adb -s emulator-5554 install -r /work/Qt-Android/QtTest/application/build/Android_Qt_6_9_1_qt_androidX86_Clang_x86_64-Debug/android-build//build/outputs/apk/debug/android-build-debug.apk" Performing Streamed Install Success Android package built successfully in 0.572 ms. -- It can now be run from the selected device/emulator. -- File: /work/Qt-Android/QtTest/application/build/Android_Qt_6_9_1_qt_androidX86_Clang_x86_64-Debug/android-build//build/outputs/apk/debug/android-build-debug.apk 14:18:06: The process "/opt/qt6/bin/androiddeployqt" exited normally. 14:18:06: Package deploy: Running command "/opt/android/sdk/platform-tools/adb -s emulator-5554 pull /system/bin/app_process64 /work/Qt-Android/QtTest/application/build/Android_Qt_6_9_1_qt_androidX86_Clang_x86_64-Debug/android-app-process/app_process". 14:18:06: Package deploy: Running command "/opt/android/sdk/platform-tools/adb -s emulator-5554 pull /system/bin/linker64 /work/Qt-Android/QtTest/application/build/Android_Qt_6_9_1_qt_androidX86_Clang_x86_64-Debug/android-app-process/linker64". 14:18:06: Package deploy: Running command "/opt/android/sdk/platform-tools/adb -s emulator-5554 pull /system/lib64/libc.so /work/Qt-Android/QtTest/application/build/Android_Qt_6_9_1_qt_androidX86_Clang_x86_64-Debug/android-app-process/libc.so". 14:18:06: Elapsed time: 00:05.
  • Upgrading from QT 5.13.1 to QT 5.15.2

    Unsolved
    4
    0 Votes
    4 Posts
    64 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
    165 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
    48 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
    106 Views
    piervalliP
    Nice! Thanks
  • Qt Debugger Shows Only Disassembler View

    Moved Unsolved
    3
    0 Votes
    3 Posts
    139 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
    72 Views
    SGaistS
    Hi and welcome to devnet, Did you enable the plug-in as suggested in the documentation ?
  • A Sincere Request: Please Bring AI Assistant to the Open-Source Edition of Qt Creator

    Unsolved
    2
    0 Votes
    2 Posts
    89 Views
    jsulmJ
    @JasonWong Keep in mind that this is user forum. You should ask on Qt developer mailing list or file a change request in Qt bug tracker.
  • CMake warning : the target is mentionned as dependency but not declared

    Solved
    5
    0 Votes
    5 Posts
    194 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
    4 Views
    No one has replied
  • How to dynamically generate files in the build directory?

    Solved
    10
    0 Votes
    10 Posts
    342 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
    100 Views
    No one has replied
  • Creator very very very slow on finding/creating slot funktion from designer

    Unsolved
    6
    0 Votes
    6 Posts
    690 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
    373 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
    197 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
    488 Views
    A
    indeed, now there was a button
  • “at least one required feature is not present” error

    Solved
    5
    0 Votes
    5 Posts
    429 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.