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
  • How to suppress warning of "unable to open qml document" in Qt Quick designer

    Unsolved
    1
    0 Votes
    1 Posts
    534 Views
    No one has replied
  • Subversion build number into QMake VERSION variable?

    Unsolved
    2
    0 Votes
    2 Posts
    455 Views
    SGaistS
    Hi, Nothing automagical, you should check this thread.
  • Qt Creator does not parse compile output on remote build

    Unsolved
    4
    1 Votes
    4 Posts
    2k Views
    M
    Sorry for the necropost, but I found the solution to this problem! QtCreator parses errors in stderr, but ssh is outputting to stdout. You need to redirect ssh output by appending "1>&2" (no quotes) to your command and QtCreator will now parse your errors. Hope this helps whoever else is interested
  • I just broke Creator (again)...

    Solved
    16
    0 Votes
    16 Posts
    3k Views
    mzimmersM
    @JKSH heisenbug, eh? I wonder if these are most prevalent in Berkeley Unix systems: esse est percipi
  • Breakpoint with QString Condition in QtCreator

    Solved
    6
    0 Votes
    6 Posts
    4k Views
    K
    To anyone stumbling over this thread, there has been a similar thread started which resulted in a bug report on JIRA. Check out this thread for more details. The bug report has been closed immediately, but gives details on restrictions on breakpoint conditions.
  • Conditional breakpoints on QString value with GDB in Qt Creator.

    Unsolved bug-21133 qtcreatorbug
    10
    0 Votes
    10 Posts
    8k Views
    K
    The bug report has been closed already. Here the comment of the assignee: 1. QChar c; for(; c <= 'z'; ++c) does not compile. 2. What can be used in breakpoint conditioned is defined by what the underlying debugger (GDB here) is able to handle. It is not possible to have arbitrary C++ code there, specifically you cannot call functions that are not present in the binary, e.g. because they are inlined by the compiler or have not been used in the application code, so the linker had no reason to include it. 3. You can fiddle around with something along the lines of creating a breakpoint using gdb's python interface and a condition based on some translation of set $s = QString::toLatin1_helper(test) / set $p = $s.d.offset + (char)$s.d / strcmp($p, "d"), but that's not worth it as long as you can modify the code and put the condition in the code.*
  • Copy files to output directory keeping the original path

    Solved
    7
    0 Votes
    7 Posts
    2k Views
    SGaistS
    Hi, IIRC, you can use QMAKE_COPY_DIR) for copying the content of a folder.
  • Create widget modal or detect mousePressEvent outside QDialog

    Solved
    19
    0 Votes
    19 Posts
    4k Views
    B
    Hi, I have solved my problem with QMenu, adding QAction, and exec(pos) Thanks a lot :)
  • Debugger does not stopping at qml files but in c++ code it does.

    Unsolved
    3
    0 Votes
    3 Posts
    556 Views
    N
    Sure, This is what I get when starting the problematic application: QML debugging is enabled. Only use this in a safe environment. When starting another application (Where QML debugger works) I get : QML debugging is enabled. Only use this in a safe environment. QML Debugger: Waiting for connection on port 51528... Thank you.
  • Using Docker in Qt Creator Build Kits

    Unsolved
    3
    0 Votes
    3 Posts
    2k Views
    Pablo J. RoginaP
    @Andrew-McCormick putting Docker asside (which I do appreciate for letting you have different "instant ready-made" build machines), this requirement nails down to remote compiling, isn't it? What about the solutions discussed/proposed in this answer?
  • Fresh install of Qt Creator can not run demo application in release mode

    Unsolved
    5
    0 Votes
    5 Posts
    796 Views
    JKSHJ
    @mgilorma said in Fresh install of Qt Creator can not run demo application in release mode: The ListDLLs application shows that a debug build seems to load the required plugins while the release build does not. I'm more interested in the "main" DLLs like Qt5Core.dll, not the plugins. And most importantly: Which folder(s) (give absolute paths!) are those main DLLs taken from? (I tried to upload the txt files of the output but am not sure how to do that right now) The easiest way is to copy+paste the text straight into this forum. Put triple backticks (`) before and after the text to put them in a scroll area. This is a problem with this particular laptop as I loaded the same version of Qt onto another laptop and do not have the same issue... The frustrating part is that uninstalling and reinstalling does not seem to help... I'm guessing it's something in the environment of this laptop. ListDLLs and @hskoglund's plugin debugging technique should reveal something.
  • Setting up a raspberry for remote development for running an application

    Solved
    14
    0 Votes
    14 Posts
    2k Views
    K-StrK
    Hello, sorry, but the real problem has not been solved because I still do not know how to setup qt5-creator on a Windows 10 PC. See my post above (3 days ago). Maybe sombody has some experience with this problem. Kurt
  • Non-working QtCreator shortcuts in Ubuntu 18.04

    Solved
    3
    2 Votes
    3 Posts
    2k Views
    aha_1980A
    Ok, I've used the sledgehammer: sudo apt remove ibus Lets me finally work with Ctrl+Shift+U in Ubuntu 18.04
  • Using ActionGroup in QtDesigner

    Unsolved
    1
    0 Votes
    1 Posts
    446 Views
    No one has replied
  • how to download and install Qt 3D studio?

    Unsolved
    7
    1 Votes
    7 Posts
    6k Views
    xmastreeX
    @sierdzio you can download qt3d on linux, http://code.qt.io/cgit/qt3dstudio/qt3dstudio.git/tree/build_instructions?h=1.1 you can follow this link. I did it, it works... also for windows and mac https://download.qt.io/official_releases/qt3dstudio/2.0/ this is the only 3d studio installers I found them finally.
  • [cmake] Adding/customizing arguments for cmake

    Unsolved
    2
    0 Votes
    2 Posts
    360 Views
    SGaistS
    Hi and welcome to devnet, Based on the Setting Up CMake chapter in Qt Creator's documentation. You should be able to do that from the Kit page. Hope it helps
  • [Cross compile] [Windows&Linux][PuTTY] Error: Access denied.

    Solved
    4
    0 Votes
    4 Posts
    2k Views
    A
    @EricLiii No problem! Happy to help. Glad you got it working too. :)
  • 0 Votes
    2 Posts
    895 Views
    SGaistS
    Hi and welcome to devnet, You should rather contact the authors of both project. They'll likely have better knowledge about that part.
  • Qt Creator (4.7.0 windows) object and property view wont stay resized.

    Moved Unsolved
    1
    0 Votes
    1 Posts
    209 Views
    No one has replied
  • PCH file?

    Solved
    4
    0 Votes
    4 Posts
    649 Views
    D
    windows (msvc): QMAKE_CXXFLAGS += /FI"stdafx.h"