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
  • Searching QPainter but for 3D purpose (lines in 3D)

    Unsolved
    4
    0 Votes
    4 Posts
    682 Views
    tobias_mT
    @MaelleT Yeah I saw the change 😉 If you want you can pursue the Qt3D framework a bit and see if it fits your requirements. I saw one question earlier similar to yours: https://stackoverflow.com/questions/38067867/how-do-i-draw-a-simple-line-in-qt3d. But it doesn’t really give you a simple answer. Is it really lines in 3D you want? Or is it 3D coordinates projected to a 2D plane? If it’s the latter you can “just” project the points you have in the 3D world to 2D coordinates then use Qpainter as usual to draw the lines between the coordinates. I have a rough example here if you want to have a quick look: https://github.com/tobiasmarciszko/effect-playground/blob/master/projection.cpp
  • Android tab missing in QtCreator -> Tools -> Options -> Devices

    Unsolved
    9
    0 Votes
    9 Posts
    2k Views
    ?
    The Android Device Tab comes with qt creator as a plugin so to enable it you click on HELP->ABOUT_PLUGINS under the device section TICK Android to enable it in QtCreator .
  • Cannot work with components imported from QT Design Studio

    Locked Unsolved
    2
    0 Votes
    2 Posts
    643 Views
    SGaistS
    Hi, Again, please do not post the same question in multiple sub-forum. One is enough. Duplicate Closing this one.
  • How to add business logic to a QT Design Studio generated .ui.qml component

    Locked Unsolved
    2
    0 Votes
    2 Posts
    369 Views
    SGaistS
    Hi, Please don't post the same question in multiple sub-forum. One is enough. Duplicates Closing this one
  • Problem with reading double values form txt file

    10
    0 Votes
    10 Posts
    2k Views
    P
    @VRonin your code solved my problem thank you very much
  • Can we have a text minimap in the Qt Creator?

    Unsolved
    2
    0 Votes
    2 Posts
    1k Views
    guerinoniG
    Maybe this can works https://github.com/i94matjo/qtcreator-minimap-plugin
  • QRC add folder

    Solved
    7
    0 Votes
    7 Posts
    4k Views
    B
    @SGaist Yes, I have already read this document ;) thanks for the explanation !
  • Qt Creator fix-its regression?

    Unsolved
    1
    0 Votes
    1 Posts
    163 Views
    No one has replied
  • QtCreator "Update Documentation" on an air-gapped machine

    Unsolved
    6
    0 Votes
    6 Posts
    402 Views
    SGaistS
    That something you can open a request for on the bug report system.
  • GammaRay build Error on ubuntu

    Solved
    9
    0 Votes
    9 Posts
    3k Views
    F
    Hello, I have the same problem as above: /usr/bin/ld: /home/user/Qt/5.12.6/gcc_64/lib/libQt5WebEngineCore.so.5.12.6: .dynsym local symbol at index 3 (>= sh_info of 3) /usr/bin/ld: /home/user/Qt/5.12.6/gcc_64/lib/libQt5WebEngineCore.so.5.12.6: .dynsym local symbol at index 4 (>= sh_info of 3) /usr/bin/ld: /home/user/Qt/5.12.6/gcc_64/lib/libQt5WebEngineCore.so.5.12.6: .dynsym local symbol at index 5 (>= sh_info of 3) /usr/bin/ld: /home/user/Qt/5.12.6/gcc_64/lib/libQt5WebEngineCore.so.5.12.6: .dynsym local symbol at index 6 (>= sh_info of 3) /usr/bin/ld: /home/user/Qt/5.12.6/gcc_64/lib/libQt5WebEngineCore.so.5.12.6: .dynsym local symbol at index 7 (>= sh_info of 3) /usr/bin/ld: /home/user/Qt/5.12.6/gcc_64/lib/libQt5WebEngineCore.so.5.12.6: .dynsym local symbol at index 8 (>= sh_info of 3) /usr/bin/ld: /home/user/Qt/5.12.6/gcc_64/lib/libQt5WebEngineCore.so.5.12.6: .dynsym local symbol at index 9 (>= sh_info of 3) /usr/bin/ld: /home/user/Qt/5.12.6/gcc_64/lib/libQt5WebEngineCore.so.5.12.6: .dynsym local symbol at index 10 (>= sh_info of 3) /usr/bin/ld: /home/user/Qt/5.12.6/gcc_64/lib/libQt5WebEngineCore.so.5.12.6: .dynsym local symbol at index 11 (>= sh_info of 3) /usr/bin/ld: /home/user/Qt/5.12.6/gcc_64/lib/libQt5WebEngineCore.so.5.12.6: .dynsym local symbol at index 12 (>= sh_info of 3) /usr/bin/ld: /home/user/Qt/5.12.6/gcc_64/lib/libQt5WebEngineCore.so.5.12.6: .dynsym local symbol at index 13 (>= sh_info of 3) /usr/bin/ld: /home/user/Qt/5.12.6/gcc_64/lib/libQt5WebEngineCore.so.5.12.6: .dynsym local symbol at index 14 (>= sh_info of 3) /usr/bin/ld: /home/user/Qt/5.12.6/gcc_64/lib/libQt5WebEngineCore.so.5.12.6: .dynsym local symbol at index 15 (>= sh_info of 3) /usr/bin/ld: /home/user/Qt/5.12.6/gcc_64/lib/libQt5WebEngineCore.so.5.12.6: .dynsym local symbol at index 16 (>= sh_info of 3) /usr/bin/ld: /home/user/Qt/5.12.6/gcc_64/lib/libQt5WebEngineCore.so.5.12.6: .dynsym local symbol at index 17 (>= sh_info of 3) /usr/bin/ld: /home/user/Qt/5.12.6/gcc_64/lib/libQt5WebEngineCore.so.5.12.6: .dynsym local symbol at index 3 (>= sh_info of 3) /usr/bin/ld: /home/user/Qt/5.12.6/gcc_64/lib/libQt5WebEngineCore.so.5.12.6: .dynsym local symbol at index 4 (>= sh_info of 3) /usr/bin/ld: /home/user/Qt/5.12.6/gcc_64/lib/libQt5WebEngineCore.so.5.12.6: .dynsym local symbol at index 5 (>= sh_info of 3) /usr/bin/ld: /home/user/Qt/5.12.6/gcc_64/lib/libQt5WebEngineCore.so.5.12.6: .dynsym local symbol at index 6 (>= sh_info of 3) /usr/bin/ld: /home/user/Qt/5.12.6/gcc_64/lib/libQt5WebEngineCore.so.5.12.6: .dynsym local symbol at index 7 (>= sh_info of 3) /usr/bin/ld: /home/user/Qt/5.12.6/gcc_64/lib/libQt5WebEngineCore.so.5.12.6: .dynsym local symbol at index 8 (>= sh_info of 3) /usr/bin/ld: /home/user/Qt/5.12.6/gcc_64/lib/libQt5WebEngineCore.so.5.12.6: .dynsym local symbol at index 9 (>= sh_info of 3) /usr/bin/ld: /home/user/Qt/5.12.6/gcc_64/lib/libQt5WebEngineCore.so.5.12.6: .dynsym local symbol at index 10 (>= sh_info of 3) /usr/bin/ld: /home/user/Qt/5.12.6/gcc_64/lib/libQt5WebEngineCore.so.5.12.6: .dynsym local symbol at index 11 (>= sh_info of 3) /usr/bin/ld: /home/user/Qt/5.12.6/gcc_64/lib/libQt5WebEngineCore.so.5.12.6: .dynsym local symbol at index 12 (>= sh_info of 3) /usr/bin/ld: /home/user/Qt/5.12.6/gcc_64/lib/libQt5WebEngineCore.so.5.12.6: .dynsym local symbol at index 13 (>= sh_info of 3) /usr/bin/ld: /home/user/Qt/5.12.6/gcc_64/lib/libQt5WebEngineCore.so.5.12.6: .dynsym local symbol at index 14 (>= sh_info of 3) /usr/bin/ld: /home/user/Qt/5.12.6/gcc_64/lib/libQt5WebEngineCore.so.5.12.6: .dynsym local symbol at index 15 (>= sh_info of 3) /usr/bin/ld: /home/user/Qt/5.12.6/gcc_64/lib/libQt5WebEngineCore.so.5.12.6: .dynsym local symbol at index 16 (>= sh_info of 3) /usr/bin/ld: /home/user/Qt/5.12.6/gcc_64/lib/libQt5WebEngineCore.so.5.12.6: .dynsym local symbol at index 17 (>= sh_info of 3) This only happens on the first run after I have changed some code, every re-run of the same stage of code starts directly. The QtWebEngine is installed, I already tried to remove and reinstall it, but that does not help. Neither does another version of Qt help. It also is correctly linked in the kit-settings. I am pretty sure that it worked before I updated my version of Qt, therefore I don't think it is a problem with ubuntu 19.10. When I ignore this error my programm runs perfeclty fine, but it is pretty annoying to always click the 'proceed/ignore errors' button after each new build. I am thankful for any suggestions on how I can solve this problem. And sorry for kind of gravedigging this, but this was the most promising google hit. Edit: configuring the gold linker with the command: sudo ln -sf /usr/bin/x86_64-linux-gnu-ld.gold /usr/bin/ld found here: https://cristianadam.eu/20170709/speeding-up-cmake/ did the job, the errors are gone.
  • Qtmediaplayer and custom gstreamer pipeline

    Unsolved qmediaplayer gstreamer1.0 qt5
    15
    1 Votes
    15 Posts
    8k Views
    V
    @SGaist I'll try to cross compile qt again and let you know the error . Meanwhile can you please share any link where i can get the procedure about how to cross compile qt for zynq mpsoc devices. Thanx.
  • Qt Creator/Designer problems with Tab Widget

    Unsolved
    1
    0 Votes
    1 Posts
    809 Views
    No one has replied
  • Resize objects with mainwindow is maximized

    Solved
    7
    0 Votes
    7 Posts
    971 Views
    Jona3717J
    I fixed it by editing the .ui file, the problem is that I had adjusted the sizePolicy of the QTextEdit in QAbstractScrollArea :: AdjustToContentsOnFirstShow. Thanks for everything.
  • QT Creator "subdirs" project

    Unsolved
    14
    0 Votes
    14 Posts
    11k Views
    SGaistS
    @Raad A documentation update is in the works that will explain that.
  • qmake function change global variable

    Solved
    2
    0 Votes
    2 Posts
    258 Views
    semlanikS
    Ok, solved. defineReplace(somefunc) { SOURCES += my_new_source.cpp export(SOURCES) return() }
  • 0 Votes
    3 Posts
    326 Views
    JonBJ
    @Himanshu-charde In fact in the case you show I think your process.start("literal string") will work OK, but only because it doesn't happen to have any special characters which need quoting. But @jsulm suggestion to use the separated string list arguments is more robust if that changes. The vital thing is that as @jsulm says you are not attempting to read any output from the process back into your Qt app. You'll want https://doc.qt.io/qt-5/qprocess.html#readAllStandardOutput and possibly https://doc.qt.io/qt-5/qprocess.html#readyReadStandardOutput. And while you are at it, always do the same for https://doc.qt.io/qt-5/qprocess.html#readAllStandardError. And the https://doc.qt.io/qt-5/qprocess.html#errorOccurred signal. People don't bother and then wonder what's happening when an error is reported....
  • QtCreator 4.11.0 crash on startup loading ClangPchManager

    Unsolved
    2
    1 Votes
    2 Posts
    388 Views
    aha_1980A
    @fcusolito I don't see ClangPchManager in my plugin list. Maybe that was an experimental plugin you enabled and that no longer exists? Regards
  • Using Qt classes in VS project

    Unsolved
    5
    0 Votes
    5 Posts
    535 Views
    KroMignonK
    @Milosz said in Using Qt classes in VS project: n other words I have to create a new project - I cannot modify the current one. did i understand correctly? Perhaps you can try to use Qt Visual Studio Tools. It may include an import feature, but I don't know. I never use it. Yes, you need to create a new project, because using Qt requires to made deep changes in your code.
  • 1 Votes
    3 Posts
    2k Views
    G
    I have the same problem on MacOS but this seems not coming from CMake but from the last version of QT Creator 4.11.x I installed an instance of Qt Creator to 4.10.x and get back project structure as folders structure.
  • This topic is deleted!

    Unsolved
    1
    0 Votes
    1 Posts
    8 Views
    No one has replied