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.5k Posts
  • Debugger cannot evaluate function calls like myStringList.contains("bla")

    Unsolved
    3
    0 Votes
    3 Posts
    775 Views
    C
    Hello raven-worx, we are talking about gdb (C:\Qt\Tools\mingw491_32\bin\gdb.exe) and all normal expressions are evaluated correctly. Only the specified function calls (and maybe some others) don't work. regards, Christian
  • 0 Votes
    7 Posts
    3k Views
    A
    @JohanSolo I've already seen this, but the link doesn't tell how to integrate. Moreover, I've added a custom build command to qtcreator build steps, but the messages are shown in compile pane instead of issues pane. It seems that a plugin is required but I couldn't find that. How can I write a plugin for that by myself?
  • QT Creator doesn't run program

    Unsolved
    3
    0 Votes
    3 Posts
    830 Views
    W
    Yes, turning off anti-virus solved the problem. I had problems with anti-virus earlier, I don't know why I didn't think about it. Thank you for your answer!
  • Debugging qml plugin with QtCreator

    Unsolved qml qtcreator plugin debug
    3
    0 Votes
    3 Posts
    2k Views
    O
    Thank you, Charby! Do you mean Debugger settings/Enable QML? I know about it and suppose it is about Qml application. Am I right? But I ask about “mixed” mode – I can’t understand how to debug qml module which we call from C++ program ( p->runQmlPlugin() )?
  • using the right compiler in QT Creator

    Unsolved
    2
    0 Votes
    2 Posts
    667 Views
    SGaistS
    Hi, AFAIK, Qt will use the compiler provided by Xcode (by the way it's clang, gcc is deprecated by now). So currently you have to modify the mkspec or create your own based on that one.
  • MaintenanceTool wont launch

    Unsolved
    10
    0 Votes
    10 Posts
    3k Views
    SGaistS
    You should go in the folder where you have the qpm executable or give the full path to it when you want to call it.
  • Howto dump qmake variables in Creator (Code model)?

    Unsolved
    4
    0 Votes
    4 Posts
    1k Views
    SGaistS
    No there's not, you have to open one. However, you should be able to get them in the Qt Versions panel of Build & Run. Click on Details and you should have them all
  • Custom Process Step not working under Windows

    Solved
    3
    0 Votes
    3 Posts
    2k Views
    K
    Thanks for your answer. Yes you are right this commands are part of the command shell. With normal .exe programs it works :-)
  • how qt creator defines build system

    Unsolved
    2
    0 Votes
    2 Posts
    2k Views
    A
    first question solved: by specifing desired tool in make path in manual configuration. I used nmake earlier
  • MinGW: Error 2

    Unsolved
    5
    0 Votes
    5 Posts
    2k Views
    A
    @Wieland Here's the interesting thing: When the .a-File already exists, MinGW has no problem updating it. I only get the error when the file does not exist at all. Also, I modify some environment variables when starting Creator. Specifically, I modify some paths that normally point to folders on the compile server and redirect them to my local drive. Reason: These paths end up in the INCPATH. When I have both my local and compile server paths in there, Creator will always jump to the files on the the compile server when "following symbols", for some reason (even though the order is clearly "local fist, remote later", which is a huge pain in the...you know where. When I do not modify these variables, Creator can create the .a file. I had the same configuration with Creator 3.2.2 and no issues...
  • OpenCV Mat debugging helper

    debug opencv qtcreator
    5
    0 Votes
    5 Posts
    6k Views
    Y
    Hi, If my cv::Mat variable is a 2 dimension matrix of a small size (<10*10), is it possible to show its elements in "locals and expressions" window? Is it easy or lots of work needed? Or there has already been some tools? Thanks a lot. Yanming
  • How to use qmakes packagesExists function

    Unsolved qmake pkg-config
    2
    0 Votes
    2 Posts
    1k Views
    SGaistS
    Hi, What version of Qt are you using ? On what platform ? By the way, is it just a typo or are you using packagesExists ? (additional s)
  • Qt installer digital signature

    Unsolved
    2
    0 Votes
    2 Posts
    711 Views
    SGaistS
    Hi and welcome to devnet, That's Finnish, Oy stands for Ltd. so that's completely Ok. As for why they are both signed differently, you should email The Qt Company about that matter.
  • How to use different subversion passwords for different projects?

    Unsolved
    2
    0 Votes
    2 Posts
    592 Views
    SGaistS
    Hi, That's something I'd recommend asking on the Qt Creator mailing list You'll find there Qt Creator's developers/maintainers. (This forum is more user oriented)
  • Qt Designer beginner. 1. Creating right project. 2. User slot for Action

    Unsolved
    2
    0 Votes
    2 Posts
    813 Views
    D
    Well, I drop my 1-st question (unanswered, alas!) and I've got my answer for a 2-nd question. Actions are happily linked to a Python script. Now I have one new question. There is a QMainWindow object. And it has a QLineEdit widget. Python(3) script communicates with some external device and writes data from the device to the QLineEdit widget, using setText() method. So far it is a pure Display Widget (in terms of Qt Designer). But now I need to write some user data to the external device, using this widget. For example (but not necessarily) I click on a QLineEdit widget (1-st event), enter some text and press Enter key (2-nd event). And my data is being sent to the external device. As far as data is sent, the Python script resumes to read data from the device and to refresh the text in the widget. What is a problem? I need to enter new text in the the widget from the moment of the 1-st event, but the Python script over-writes the text being edited with the external data. This is the reason I want to stop refreshing. But the QLineEdit has not clicked() signal. How can I get a signal from a QLineEdit widget about the beginning of editing the text? In the Qt4 Designer I used to translate my mainwindow.ui file into the mainwindow.py file and then I made manual editing of the file. I defined myLineEdit(QtGui.QLineEdit) class and redefined mousePressEvent() to emit a "mousePressed" SIGNAL at the LeftButton event. Now I'd like to avoid that sort of translation - just import the mainwindow.ui file via loadUiType(). How can I stop the refreshing with the absence of clicked(0 signal in QLineEdit class? Or maybe I have to use come other widget? Or other input technology? I hope there are some standard approaches to entering data in the widget upon the constant refreshing process.
  • Visual Studio Add-in not registered properly with VS2013 Ultimate

    Unsolved
    1
    0 Votes
    1 Posts
    382 Views
    No one has replied
  • Qt Creator doesn't start Qt5.6

    Unsolved
    7
    0 Votes
    7 Posts
    2k Views
    K
    @chebhou Basically the MSVC version issue would have been your next challenge. However, it shall be independent of the creator problem. You may check also on JIRA if there has been a bug reported. Sometimes the starting problem happens. However, I do not know the sure. I will move your thread to tools section. This section is actually the section where Qt creator issues belong. You should have also there for a solution. You are not the first one with the problem. :(
  • Can QtCreator be built with Qt5 configured -no-opengl ?

    Unsolved
    4
    0 Votes
    4 Posts
    2k Views
    SGaistS
    AFAIK, there's no such switch currently in Qt Creator
  • Can't compile plugin for QtCreator(msvc, lib and dll issue)

    Solved
    3
    0 Votes
    3 Posts
    967 Views
    H
    @SGaist thanx for reply. I have debug version, but I installed it. To solve this issue I had to copy *.lib files to install location. After that plugin compiles.
  • Disable disassembler which starts by F12 key press

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