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
  • SOFT ASSERT in QtCreator 15

    Unsolved
    3
    0 Votes
    3 Posts
    324 Views
    JoeCFDJ
    @aha_1980 Thanks. Looks like a bug not fixed yet.
  • How in the Centos system of QMainWindow QDialog add Qt::WindowContextHelpButtonHint

    Unsolved
    3
    0 Votes
    3 Posts
    235 Views
    R
    @roy815 said in How in the Centos system of QMainWindow QDialog add Qt::WindowContextHelpButtonHint: Development environment:c++11 qt5.12 centos My needs: add Qt::WindowContextHelpButtonHint in QMainWindow and QDialog what i have done but no effect:setWindowFlags(Qt::CustomizeWindowHint|Qt::WindowContextHelpButtonHint | Qt::WindowCloseButtonHint ); I have tried that what you say yesterday,but no effect too.I looked up a lot of information on the Internet, there is no relevant solution.May be ,In Linux, it is not possible to add a context help button to dialogs or mainwindow.
  • 0 Votes
    2 Posts
    173 Views
    C
    Solved by updating Qt: [image: 5dc4f314-9164-458d-8a9a-e3c2b5164f4a.png] [image: 1111205d-4189-4a99-999a-c8301c75ef77.png]
  • Can't use my Build and Run settings in another system

    Moved Unsolved qt-creator
    3
    0 Votes
    3 Posts
    344 Views
    D
    @Pl45m4 I apologize for my incomplete explanation. What I meant to say is exactly this: I created a project and build/run settings which includes path of destinations, executables and qmake settings. When I publish my project to another person all the settings I created are missing. As you said pro.user file shouldn't shared between projects or used on other systems. But As I read in qt documents it says pro.shared file could be shared for make projects settings portable. The problem is I wrote this file and I can share my settings to another system, but every time I need to change the version and set the current path of project for build/run configurations. Here is an example: C:\Users\duruk\Desktop\Sample\build This is the target path of my Press_Release build configuration. As you see this path is unique for my system (name of project is Sample, this folder contains pro file and pro.shared file). I have written a bash file to changing the paths to current paths, and a manual for describing how to user could set configuration. This is the bash file I wrote to changing paths: DOSYA="Sample.pro.shared" OLD="xxxxx" NEW=$(PWD) if [ ! -f "$DOSYA" ]; then exit 1 fi sed -i "s|$OLD|$NEW|g" "$DOSYA" Well now I'm searching a way to settings project path automaticly and and prevent changing ProjectExplorer.Project.Updater.FileVersion variable every time project moved another system. Is there anyway to share settings more easy and effective? The documentation of the method I tried: https://doc.qt.io/qtcreator/creator-sharing-project-settings.html Thank you for your reply.
  • anonymous class

    Unsolved
    3
    0 Votes
    3 Posts
    286 Views
    F
    I have installed Qt 6.8.1 (before I had 6.8.0) and I have no problem. Thank you (I am French and my english is wery little or bad)
  • page numbers

    Unsolved
    1
    0 Votes
    1 Posts
    88 Views
    No one has replied
  • Qt Create does not print messages to the console in the C project

    Solved
    3
    0 Votes
    3 Posts
    332 Views
    8Observer88
    The same for Qt Creator 15.0.0-rc1 (14.0.84) that I've downloaded here: https://github.com/qt-creator/qt-creator/releases
  • Change build directory with cmake

    Moved Unsolved
    5
    0 Votes
    5 Posts
    2k Views
    M
    @Christian-Ehrlicher said in Change build directory with cmake: cmake does not place anything anywhere without question. It does what it gets told. Maybe you configured QtCreator (you did not tell us what you're using as IDE) so that the build dir is somewhere else, I don't know. I'm using Qt Creator 14.0.2. Anyway, there is no need to restart from scratch. It was enough to remove the kit from Build&Run and select it again. It seems the chaning of the build directory is not working, at least on my installation.
  • How to conduct a coverity desktop scan for Project done using QT Creator and MSVC

    Unsolved
    1
    0 Votes
    1 Posts
    133 Views
    No one has replied
  • Linux Arm Not Displaying QString correctly in Debugger

    Moved Solved
    3
    0 Votes
    3 Posts
    329 Views
    D
    I have now successfuly installed the online installer for Qt6 on a fresh Pi OS64. I had to install some dependencies including some to get the online installer to run without crashing. From the Installer, I selected custom install, selected an older Qt6, then selected the components I required including Qt Creator and debug symbols. The online install then proceeded to completion without problems. QtCreator was added to the Progamming Menu making it easy to launch. I am back to being able to run the QtCreator debugger and view items like QString correctly, although it took me several days of frustration to get there. I planned to detail the dependencies I installed but this forum thought it was spam.
  • Shortcut for Variable Info/Mouse Hover

    Solved
    2
    0 Votes
    2 Posts
    208 Views
    aha_1980A
    @Julius: Indeed that works by pressing the Alt key when the cursor is in a variable and Edit > Preferences > Text Editor > Behavior > Mouse and Keyboard > Show help tooltips using keyboard shortcut (Alt) is checked. Regards
  • Never (ever) refactoring class to "separate set of dedicated source files" ever again

    Unsolved
    2
    0 Votes
    2 Posts
    198 Views
    jsulmJ
    @osirisgothra said in Never (ever) refactoring class to "separate set of dedicated source files" ever again: Long story short, I lost a whole days worth of work That's why there are version control systems like Git out there. Just commit your changes regularly, especially before doing bigger/risky changes. What you describe sounds like a bug in QtCreator, you should create a bug ticket in https://bugreports.qt.io/secure/Dashboard.jspa
  • How to use qmllint with modules

    Unsolved
    2
    1 Votes
    2 Posts
    263 Views
    KH-219DesignK
    (Disclaimer: I have not yet tried to use qmllint myself. I previously described my own method to "ban qml warnings" here: https://forum.qt.io/topic/113028/is-it-possible-to-use-any-qml-parser-tool ) There is an open Qt bug with title "How to use qmllint on multiple components in one project" here: https://bugreports.qt.io/browse/QTBUG-120442 That bug report seems perhaps relevant? There are a lot of comments there. Maybe some will give you clues.
  • QtCreator: Export or save bookmarks?

    Solved
    4
    0 Votes
    4 Posts
    374 Views
    A
    Not a beauty to handle, but at least a way to make backups. Thanks!
  • QT Designer, How to have Scrolling available for Main Window

    Solved
    9
    0 Votes
    9 Posts
    6k Views
    JonBJ
    @Calvin-H-C There has been no QScrollView since Qt3. I have not heard of requiring two children for adding a layout, but there you are. Not everything needs a layout --- containers like QScrollArea do not, I don't think you should put one on them, and should not show the "no entry" sign without one. For scrolling issues I know that QScrollArea has a widgetResizable which often needs setting to true for scrolling/scrollbars to work right. Otherwise show a screenshot from Designer and paste (a minimal) .ui file and someone will doubtless comment.
  • dot pro settings for windows SDK

    Unsolved
    1
    0 Votes
    1 Posts
    111 Views
    No one has replied
  • Qt Creator: Linker errors in shadow build only

    Unsolved
    13
    0 Votes
    13 Posts
    1k Views
    N
    @jsulm I used Qt Installer. It is installed in C:\Qt
  • QT Modbus RTU read timeout

    Unsolved
    1
    0 Votes
    1 Posts
    149 Views
    No one has replied
  • How to make Visual Studio evaluate Qt expressions?

    Moved Unsolved
    2
    0 Votes
    2 Posts
    295 Views
    S
    I am not entirely sure what your problem is in this case. However, for general use of Qt in VS: Do you have the natvis debug helpers installed (https://wiki.qt.io/IDE_Debug_Helpers)? What might be the case with your problem is that you don't have debug symbols for Qt installed. My guess is that maybe you need to install the Qt source using the online installer. Though I'm not entirely sure about that.
  • starting a debug session hotkey half the time doesnt work (have to go into the menu)

    Unsolved
    4
    0 Votes
    4 Posts
    323 Views
    aha_1980A
    I've created QTCREATORBUG-32060 for my issue.