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
  • Creator: Enable Fakevim virtualedit=all

    Unsolved
    1
    0 Votes
    1 Posts
    282 Views
    No one has replied
  • CMake - Dynamic Analysis with Clang - Suppressing Reports in External Libraries.

    Unsolved
    1
    0 Votes
    1 Posts
    342 Views
    No one has replied
  • Creator: customizing default .pro-file

    Unsolved
    3
    0 Votes
    3 Posts
    890 Views
    SGaistS
    Hi and welcome to devnet, You might find this thread of help.
  • Creator: Completion no longer adds closing semicolon

    Unsolved
    29
    1 Votes
    29 Posts
    7k Views
    mrjjM
    @SGaist haha well after the mega rant towards c++ , he might have changed his mind later.
  • PRF Architecture issue in Windows

    Unsolved
    1
    0 Votes
    1 Posts
    312 Views
    No one has replied
  • How to remove a Warning ?

    Solved
    8
    0 Votes
    8 Posts
    5k Views
    RebelCoderRUR
    @Chris-Kawa Wow! that is exactly what I need. Just one more problem left.... field is not editable for some odd reason. [image: Spectacle_d_T4846.png] EDIT. Sorry, my fault. I just had to copy pre-existing settings and I could edit them then. It is sorted. thanks so much guys for your time and help!
  • Qt Creator: Code formatting and error checking

    Unsolved
    4
    0 Votes
    4 Posts
    2k Views
    J
    @jsulm I checked 'Highlight Blocks' option but it wasn't what I want. I'm saying about this: [image: 053d8867-0008-4e4a-bab6-1d37dc5c42ab.png]
  • Creator: Where are "Refactor" settings?

    Unsolved
    5
    0 Votes
    5 Posts
    1k Views
    A
    I was looking for refactoring-specific settings, such as where newly created methods are positioned. But it looks like there are no such settings.
  • Clang static analyzer: how to exclude errors from boost

    Unsolved
    1
    0 Votes
    1 Posts
    557 Views
    No one has replied
  • Qt creator 4.3.1 is not showing any Qt versions under Auto-detected

    Unsolved
    4
    0 Votes
    4 Posts
    978 Views
    JKSHJ
    @Mylavarapu.Manikanta said in Qt creator 4.3.1 is not showing any Qt versions under Auto-detected: -->But when I compiling a sample application "Can not find -lGL" error is showing. -->It seems like compiler cannot find the required library. -->My host pc configuration is: Redhat Linux 7.2,64-bit Please tell me the solution See https://forum.qt.io/topic/87093/mingw-w64-download
  • Is Qt Designer not equal to Qt Creator/Forms designer?

    Solved qt designer custom plugins qt creator
    10
    0 Votes
    10 Posts
    5k Views
    G
    Well, I found the problem. The menu command for Designer has this syntax: /usr/bin/qtchooser -run-tool=assistant -qt=qt5 I replace it with the path where is located designer: /home/glafauci/Programmi/Qt/5.10.0/gcc_64/bin/designer Now it work fine. Thanks to all.
  • Clang Code Model fails to find header files

    Unsolved
    3
    0 Votes
    3 Posts
    4k Views
    aha_1980A
    The bugreports are now: QTCREATORBUG-19667 for the headers QTCREATORBUG-19668 for the language specification
  • 0 Votes
    9 Posts
    2k Views
    JonBJ
    @Nianoniaa I doubt the files' content is getting zapped by a "legitimate" write to the file, more that something nasty is causing the underlying disk area to get corrupted. In itself I can't see that Qt would be the cause. However you probably do a lot more reading/writing of files etc. when you compiling or clanging than in other situations, so the problem may be more likely to show up then.
  • Qt creator has issues while building android for x86 using Cmake

    Unsolved android cmake gcc android studio
    3
    0 Votes
    3 Posts
    3k Views
    A
    Hello, Sorry for the novice mistake! I was trying to use different compilers in the NDK but i end up with the same error. The code i uploaded before was from one of my trials. I did change my configuration to x86 but i still get the same error. Since this is my 1st time for android, I may have missed something. The error stays the same. The 1st few line of my cmake error log states: Compiling the CXX compiler identification source file "CMakeCXXCompilerId.cpp" failed. Compiler: /home/user/android-ndk-r16b/toolchains/x86-4.9/prebuilt/linux-x86_64/bin/i686-linux-android-g++ Build flags: Id flags: The output was: 1 /home/user/android-ndk-r16b/toolchains/x86-4.9/prebuilt/linux-x86_64/bin/../lib/gcc/i686-linux-android/4.9.x/../../../../i686-linux-android/bin/ld: error: cannot open crtbegin_dynamic.o: No such file or directory /home/user/android-ndk-r16b/toolchains/x86-4.9/prebuilt/linux-x86_64/bin/../lib/gcc/i686-linux-android/4.9.x/../../../../i686-linux-android/bin/ld: error: cannot open crtend_android.o: No such file or directory /home/user/android-ndk-r16b/toolchains/x86-4.9/prebuilt/linux-x86_64/bin/../lib/gcc/i686-linux-android/4.9.x/../../../../i686-linux-android/bin/ld: error: cannot find -lstdc++ /home/user/android-ndk-r16b/toolchains/x86-4.9/prebuilt/linux-x86_64/bin/../lib/gcc/i686-linux-android/4.9.x/../../../../i686-linux-android/bin/ld: error: cannot find -lm /home/user/android-ndk-r16b/toolchains/x86-4.9/prebuilt/linux-x86_64/bin/../lib/gcc/i686-linux-android/4.9.x/../../../../i686-linux-android/bin/ld: error: cannot find -lc /home/user/android-ndk-r16b/toolchains/x86-4.9/prebuilt/linux-x86_64/bin/../lib/gcc/i686-linux-android/4.9.x/../../../../i686-linux-android/bin/ld: error: cannot find -ldl collect2: error: ld returned 1 exit status and the cmake output states -- The CXX compiler identification is GNU 4.9.0 -- Check for working CXX compiler: /home/user/android-ndk-r16b/toolchains/x86-4.9/prebuilt/linux-x86_64/bin/i686-linux-android-gcc -- Check for working CXX compiler: /home/user/android-ndk-r16b/toolchains/x86-4.9/prebuilt/linux-x86_64/bin/i686-linux-android-gcc -- broken CMake Error at /usr/share/cmake-3.5/Modules/CMakeTestCXXCompiler.cmake:54 (message): The C++ compiler "/home/user/android-ndk-r16b/toolchains/x86-4.9/prebuilt/linux-x86_64/bin/i686-linux-android-gcc" is not able to compile a simple test program. It fails with the following output: Change Dir: /home/user/testProjects/build-bubbleWork-Android_for_x86_GCC_4_9_Qt_5_9_3_for_Android_x86-Default/CMakeFiles/CMakeTmp Run Build Command:"/usr/bin/make" "cmTC_c05c5/fast" /usr/bin/make -f CMakeFiles/cmTC_c05c5.dir/build.make CMakeFiles/cmTC_c05c5.dir/build make[1]: Entering directory '/home/user/testProjects/build-bubbleWork-Android_for_x86_GCC_4_9_Qt_5_9_3_for_Android_x86-Default/CMakeFiles/CMakeTmp' Building CXX object CMakeFiles/cmTC_c05c5.dir/testCXXCompiler.cxx.o /home/user/android-ndk-r16b/toolchains/x86-4.9/prebuilt/linux-x86_64/bin/i686-linux-android-gcc -o CMakeFiles/cmTC_c05c5.dir/testCXXCompiler.cxx.o -c /home/user/testProjects/build-bubbleWork-Android_for_x86_GCC_4_9_Qt_5_9_3_for_Android_x86-Default/CMakeFiles/CMakeTmp/testCXXCompiler.cxx Linking CXX executable cmTC_c05c5 /usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_c05c5.dir/link.txt --verbose=1 /home/user/android-ndk-r16b/toolchains/x86-4.9/prebuilt/linux-x86_64/bin/i686-linux-android-gcc CMakeFiles/cmTC_c05c5.dir/testCXXCompiler.cxx.o -o cmTC_c05c5 -rdynamic /home/user/android-ndk-r16b/toolchains/x86-4.9/prebuilt/linux-x86_64/bin/../lib/gcc/i686-linux-android/4.9.x/../../../../i686-linux-android/bin/ld: error: cannot open crtbegin_dynamic.o: No such file or directory
  • Creator: How to auto-select correct Qt source paths for debugging?

    Unsolved
    1
    0 Votes
    1 Posts
    331 Views
    No one has replied
  • 0 Votes
    21 Posts
    15k Views
    M
    Done https://bugreports.qt.io/browse/QTCREATORBUG-19633
  • qmake does not create the Makefile for jom

    Solved
    20
    0 Votes
    20 Posts
    7k Views
    B
    I have now found my problem. I had two files, with the same name but with different extensions, one .c and one .cpp. Only the .cpp file was "mentioned" in the .pro file, but they both were included in the Build. After removal of the .c file, everything became less confusing, and the remaining problems could be isolated to my own source files. Finally, it compiles and runs now. Again, thanks for the assistance.
  • QTCreator target device

    Solved
    4
    0 Votes
    4 Posts
    791 Views
    K
    @Bengt-0 Glad to hear that problem is solved. There are a couple of ways for installation. probably there is also the way through the linux distribution. Those are typically a bit outdated. Just for clarity my answer concering to tick on gnu c++ is for the online installer. There you get all in one package and installed at once. Please marked your thread as solved. You find "Mark as Solved" in the ComboBox "Topic Tools" under your posts.
  • QtCreator Move to previous or next function

    Solved
    3
    0 Votes
    3 Posts
    746 Views
    J
    Done Thanks
  • Qt installer framework : how to replace in instaleld files from gui text ?

    Unsolved qtifw
    1
    0 Votes
    1 Posts
    716 Views
    No one has replied