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.4k Topics 34.4k Posts
  • fakevim number lines bugging in last line

    Moved Unsolved
    5
    0 Votes
    5 Posts
    270 Views
    K

    same problem

  • 1 Votes
    8 Posts
    782 Views
    E

    same here. ldd gives no missing library for qmake.
    I try to install on a Debian 12

  • I cannot get Qt Creator / Designer to work for the life of me

    Moved Unsolved
    19
    0 Votes
    19 Posts
    1k Views
    Y

    I also use Arch and the software crashes just as well, just after the recent update. Can building from source solve the problem?

  • qtwidgetsglobals.h file not found

    Moved Unsolved
    20
    0 Votes
    20 Posts
    674 Views
    Christian EhrlicherC

    @EuclidDivisionLemma said in qtwidgetsglobals.h file not found:

    I'm compiling using the new Zed IDE.

    So you should ask them how to properly set up a project in there. Maybe they also support CMake or qmake - I don't know.
    Or fix your kit settings in QtCreator: https://doc.qt.io/qtcreator/creator-targets.html

  • This topic is deleted!

    Solved
    5
    0 Votes
    5 Posts
    73 Views
  • 0 Votes
    6 Posts
    215 Views
    SGaistS

    Hi,

    Can you provide a minimal sample code that reproduces this behaviour ?

  • 0 Votes
    3 Posts
    130 Views
    Christian EhrlicherC

    This similar to https://bugreports.qt.io/browse/QTBUG-130824 even though QtCreator does not use the win11 style afaik.

  • 0 Votes
    4 Posts
    251 Views
    M

    @cristian-adam Thanks for the quick help! This is really great and works like a charm. I can simply pass all the arguments via the environment variable - how nice!
    I will mark this as solved. Thanks again for the help and many greetings
    matse

  • F2 Follow symbol under cursor opens build file

    Unsolved
    3
    0 Votes
    3 Posts
    216 Views
    R

    I noticed the same after switching from Qt6.5 to 6.7 and upward. I think it has something to do with the new qmlls.

    @Michel-de-Boer said in F2 Follow symbol under cursor opens build file:

    Is there some setting where I can tell to look in my source directory first for QML symbols?

    Maybe there is some kind of env variable to set but it does not seem to be documented.

    For me it looks like a regression since now we cannot just Follow symbol to edit the underlying compo0nent directly. I hope something will be done to solve this issue.

    I've open a bug: https://bugreports.qt.io/browse/QTCREATORBUG-32120

  • QtCreator 15: CMake Folder property

    Solved
    3
    0 Votes
    3 Posts
    155 Views
    _

    @jsulm Thanks!

    I think I just got this feature wrong. As far as I understand now, this is used if you have multiple build targets where each of the targets is organized in it's own folder.

    I usually have only one build target (e.g. "Compile these 10 source .cpp/.h files into one exectuable") and I want to structure my source-files into IDE-folders. This is being done using CMAKE source_group and works in Qt Creator.

  • Problem with Android14 Text Selector

    Unsolved
    1
    0 Votes
    1 Posts
    54 Views
    No one has replied
  • SOFT ASSERT in QtCreator 15

    Unsolved
    3
    0 Votes
    3 Posts
    134 Views
    JoeCFDJ

    @aha_1980 Thanks. Looks like a bug not fixed yet.

  • 0 Votes
    3 Posts
    104 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
    81 Views
    C

    Solved by updating Qt:

    image.png

    image.png

  • 0 Votes
    3 Posts
    169 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
    141 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
    50 Views
    No one has replied
  • 0 Votes
    3 Posts
    139 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
    503 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.

  • 0 Votes
    1 Posts
    67 Views
    No one has replied