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
  • Qt Maintenance wrong scaling on FHD resolution

    Unsolved
    1
    0 Votes
    1 Posts
    129 Views
    No one has replied
  • Automation Testing for Qt Desktop application

    Unsolved
    2
    0 Votes
    2 Posts
    284 Views
    JonBJ
    @Sumaiya Depending on your needs, are you aware that Qt has Qt Test? Not much at Is there a open source automation tool for Qt app?.
  • 0 Votes
    1 Posts
    281 Views
    No one has replied
  • 0 Votes
    2 Posts
    710 Views
    crueeggC
    Thank you. At least QStrings are shown correctly at the moment (Qt 5.15.2/Xcode 12.5). Don't forget to import the codecs together with the usual imports. import codecs Could not see any differences with the HandleCommand fixes.
  • Qt Designer creates automatic buddies letters

    Unsolved
    5
    0 Votes
    5 Posts
    340 Views
    SGaistS
    I am wondering whether it's not something Designer specific. There's nothing in the code related to QRadioButton that would explain this.
  • How to debug in a cross-compilation environment with Qt Creator using GCC?

    Unsolved
    5
    0 Votes
    5 Posts
    1k Views
    C
    So I came a little closer. Seems like I had QML-Debugging enabled in Projects -> Build -> QML debugging and profiling, which I was actually not interested in. I disabled it and then installed gdbserver on the device. I can now launch debug mode, but Valgrind still says Error reading debug symbols, plug I get a bunch of other error messages. Could not load shared library symbols for 10 libraries, e.g. /usr/local/qt5.15/lib/libQt5Quick.so.5. Use the "info sharedlibrary" command to see the complete listing. Do you need "set solib-search-path" or "set sysroot"?QML debugging is enabled. Only use this in a safe environment. Could not load shared library symbols for 3 libraries, e.g. /usr/local/qt5.15/plugins/platforms/libqxcb.so. Use the "info sharedlibrary" command to see the complete listing. Do you need "set solib-search-path" or "set sysroot"?QStandardPaths: XDG_RUNTIME_DIR not set, defaulting to '/tmp/runtime-pi' Could not load shared library symbols for /usr/local/qt5.15/plugins/platforminputcontexts/libcomposeplatforminputcontextplugin.so. Do you need "set solib-search-path" or "set sysroot"?Could not load shared library symbols for 2 libraries, e.g. /usr/local/qt5.15/qml/QtQuick.2/libqtquick2plugin.so. Use the "info sharedlibrary" command to see the complete listing. Do you need "set solib-search-path" or "set sysroot"?Could not load shared library symbols for /usr/local/qt5.15/qml/QtQuick/Window.2/libwindowplugin.so. Do you need "set solib-search-path" or "set sysroot"?Could not load shared library symbols for /usr/local/qt5.15/qml/QtQuick/Timeline/libqtquicktimelineplugin.so. Do you need "set solib-search-path" or "set sysroot"?Could not load shared library symbols for 3 libraries, e.g. /usr/local/qt5.15/qml/QtQuick/Controls.2/libqtquickcontrols2plugin.so. Use the "info sharedlibrary" command to see the complete listing. Do you need "set solib-search-path" or "set sysroot"?Could not load shared library symbols for /usr/local/qt5.15/qml/QtQuick/Templates.2/libqtquicktemplates2plugin.so. Do you need "set solib-search-path" or "set sysroot"?Could not load shared library symbols for /usr/local/qt5.15/plugins/xcbglintegrations/libqxcb-egl-integration.so. Do you need "set solib-search-path" or "set sysroot"?Could not load shared library symbols for /usr/local/qt5.15/plugins/imageformats/libqgif.so. Do you need "set solib-search-path" or "set sysroot"?Could not load shared library symbols for /usr/local/qt5.15/plugins/imageformats/libqicns.so. Do you need "set solib-search-path" or "set sysroot"?Could not load shared library symbols for /usr/local/qt5.15/plugins/imageformats/libqico.so. Do you need "set solib-search-path" or "set sysroot"?Could not load shared library symbols for /usr/local/qt5.15/plugins/imageformats/libqjpeg.so. Do you need "set solib-search-path" or "set sysroot"?Could not load shared library symbols for 2 libraries, e.g. /usr/local/qt5.15/plugins/imageformats/libqsvg.so. Use the "info sharedlibrary" command to see the complete listing. Do you need "set solib-search-path" or "set sysroot"?Could not load shared library symbols for /usr/local/qt5.15/plugins/imageformats/libqtga.so. Do you need "set solib-search-path" or "set sysroot"?Could not load shared library symbols for /usr/local/qt5.15/plugins/imageformats/libqtiff.so. Do you need "set solib-search-path" or "set sysroot"?Could not load shared library symbols for /usr/local/qt5.15/plugins/imageformats/libqwbmp.so. Do you need "set solib-search-path" or "set sysroot"?Could not load shared library symbols for /usr/local/qt5.15/plugins/imageformats/libqwebp.so. I guess that there is some environment variable missing on the device. I have SHELL=/bin/bash LANGUAGE=de_DE.UTF-8 NO_AT_BRIDGE=1 PWD=/home/pi LOGNAME=pi XDG_SESSION_TYPE=tty MOTD_SHOWN=pam HOME=/home/pi LANG=de_DE.UTF-8 LS_COLORS=rs=0:di=01;34:ln=01;36:mh=00:pi=40;33:so=01;35:do=01;35:bd=40;33;01:cd=40;33;01:or=40;31;01:mi=00:su=37;41:sg=30;43:ca=30;41:tw=30;42:ow=34;42:st=37;44:ex=01;32:*.tar=01;31:*.tgz=01;31:*.arc=01;31:*.arj=01;31:*.taz=01;31:*.lha=01;31:*.lz4=01;31:*.lzh=01;31:*.lzma=01;31:*.tlz=01;31:*.txz=01;31:*.tzo=01;31:*.t7z=01;31:*.zip=01;31:*.z=01;31:*.dz=01;31:*.gz=01;31:*.lrz=01;31:*.lz=01;31:*.lzo=01;31:*.xz=01;31:*.zst=01;31:*.tzst=01;31:*.bz2=01;31:*.bz=01;31:*.tbz=01;31:*.tbz2=01;31:*.tz=01;31:*.deb=01;31:*.rpm=01;31:*.jar=01;31:*.war=01;31:*.ear=01;31:*.sar=01;31:*.rar=01;31:*.alz=01;31:*.ace=01;31:*.zoo=01;31:*.cpio=01;31:*.7z=01;31:*.rz=01;31:*.cab=01;31:*.wim=01;31:*.swm=01;31:*.dwm=01;31:*.esd=01;31:*.jpg=01;35:*.jpeg=01;35:*.mjpg=01;35:*.mjpeg=01;35:*.gif=01;35:*.bmp=01;35:*.pbm=01;35:*.pgm=01;35:*.ppm=01;35:*.tga=01;35:*.xbm=01;35:*.xpm=01;35:*.tif=01;35:*.tiff=01;35:*.png=01;35:*.svg=01;35:*.svgz=01;35:*.mng=01;35:*.pcx=01;35:*.mov=01;35:*.mpg=01;35:*.mpeg=01;35:*.m2v=01;35:*.mkv=01;35:*.webm=01;35:*.webp=01;35:*.ogm=01;35:*.mp4=01;35:*.m4v=01;35:*.mp4v=01;35:*.vob=01;35:*.qt=01;35:*.nuv=01;35:*.wmv=01;35:*.asf=01;35:*.rm=01;35:*.rmvb=01;35:*.flc=01;35:*.avi=01;35:*.fli=01;35:*.flv=01;35:*.gl=01;35:*.dl=01;35:*.xcf=01;35:*.xwd=01;35:*.yuv=01;35:*.cgm=01;35:*.emf=01;35:*.ogv=01;35:*.ogx=01;35:*.aac=00;36:*.au=00;36:*.flac=00;36:*.m4a=00;36:*.mid=00;36:*.midi=00;36:*.mka=00;36:*.mp3=00;36:*.mpc=00;36:*.ogg=00;36:*.ra=00;36:*.wav=00;36:*.oga=00;36:*.opus=00;36:*.spx=00;36:*.xspf=00;36: SSH_CONNECTION=xxxx:xxxx:xxxx:xxxx::xxxx:xxxx:xxxx:xxxx 22 XDG_SESSION_CLASS=user TERM=xterm-256color USER=pi SHLVL=1 XDG_SESSION_ID=5 XDG_RUNTIME_DIR=/run/user/1000 SSH_CLIENT=xxxx:xxxx:xxxx:xxxx:xxxx:xxxx:xxxx:xxxx 37756 22 LC_ALL=de_DE.UTF-8 PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/local/games:/usr/games DBUS_SESSION_BUS_ADDRESS=unix:path=/run/user/1000/bus SSH_TTY=/dev/pts/0 TEXTDOMAIN=Linux-PAM _=/usr/bin/printenv DISPLAY=:0 XDG_SESSION_TYPE=x11 I need to find a way to let Valgrind tell me the location of the errors. Else I will be searching forever...
  • Cannot load Xcb.

    Moved Unsolved
    11
    0 Votes
    11 Posts
    6k Views
    U
    @eyllanesc Thank you that worked
  • Qt cancel build button not working

    Solved
    15
    0 Votes
    15 Posts
    1k Views
    H
    @JonB https://www.qt.io/blog/qt-creator-5.0.1-released Someone pointed this problem out in the comments. and there has already been a bug report on this. Apparently the fix will be available in 5.0.2.
  • Qt installer download error very times

    Unsolved
    2
    0 Votes
    2 Posts
    186 Views
    jsulmJ
    @Kevin-Nguyen You should ask this question on Qt developers mailing list as this here is an user forum.
  • QT Creator qmlpuppet build error "No relevant classes found"

    Unsolved
    1
    0 Votes
    1 Posts
    228 Views
    No one has replied
  • qt creator not work with freeglut ??

    Solved
    4
    0 Votes
    4 Posts
    632 Views
    SGaistS
    @timob256 said in qt creator not work with freeglut ??: this damp windows linux this work What do you mean ?
  • How to use Qt VS Tools on VS BuildTools for CI/CD

    Solved ci build visual studio extension docker
    2
    1 Votes
    2 Posts
    1k Views
    G
    Solved using this answer on StackOverflow.
  • QT Creator can't complete the shared_ptr operator-> correctly, when use alias template.

    Unsolved
    1
    0 Votes
    1 Posts
    142 Views
    No one has replied
  • [QT Creator] Qt Creator 5.0.1 doesn't start on Win10

    Unsolved
    3
    0 Votes
    3 Posts
    297 Views
    A
    Solved. Problel im 5.15 version of QT, downgrade to 5.12.11 and add new 6 version and now it's work
  • C++ indexing fails as the size of the file is too big

    Moved Unsolved
    7
    0 Votes
    7 Posts
    2k Views
    JoeCFDJ
    No Qt version info. Check the following out https://bugreports.qt.io/browse/QTCREATORBUG-17534 https://doc.qt.io/qtcreator/creator-clang-codemodel.html To avoid out-of-memory crashes caused by indexing huge source files that are typically auto-generated by scripts or code, the size of files to index is limited to 5MB by default. To adjust the limit, edit the value for the Do not index files greater than check box. To index all files, deselect the check box.
  • libsqlite.dylib runtime error in Qt Creator (macOS 11.5)

    Unsolved
    2
    0 Votes
    2 Posts
    489 Views
    S
    Thanks to this SO answer, I solved this by unchecking "Add build library search path to DYLD_LIBRARY_PATH and DYLD_FRAMEWORK_PATH checkbox" in my project Run section.
  • Dependencies when using QMAKE_EXTRA_COMPILERS for code generation

    Solved
    3
    0 Votes
    3 Posts
    411 Views
    G
    Thanks for the reply, that makes sense. I could write a second project file that knows the names of all the generated files it's expecting to see (though it'd warn that they don't exist when qmake generates the makefile from it), and builds them, but I don't see how to have the gcc compile step not run against the output in the existing project. Apologies if it's a stupid question, but how would I turn that off in the generation project? [EDIT] I figured it out. TEMPLATE = aux, and remove the ddsgen.variable_out line from each extra compiler definition. I think that's it working. Thanks for the help! [EDIT] However, qmake is warning that it can't find the input files for the second, build, project since they don't exist when qmake is run to create the Makefiles for it. Is there any way to suppress that warning?
  • MaintenanceTool(mac app) cannot add 5.0.0 plugin development

    Unsolved
    1
    0 Votes
    1 Posts
    285 Views
    No one has replied
  • How to let intellisense knows about non-self contain symbols in header files that

    Solved
    3
    0 Votes
    3 Posts
    371 Views
    jronaldJ
    @JonB said in How to let intellisense knows about non-self contain symbols in header files that: I don't see how you expect b.h to know about class A Visual Studio is smart enough to know class A in b.h in this case. But I think #include "a.h" in b.h is the essential way. Thanks
  • QtCreator QML formatter does not respect tab/space indentation settings

    Solved
    2
    0 Votes
    2 Posts
    243 Views
    sierdzioS
    Looks like a bug to me, please report it.