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
  • No CMake configuration found

    Moved Solved
    17
    1 Votes
    17 Posts
    18k Views
    L
    Just run this in the terminal window: $ sudo apt install libgl-dev then everything is ok!
  • Changing the default Language of QT Designer

    Unsolved
    9
    1 Votes
    9 Posts
    28k Views
    G
    @chatgirl I can't believe that in 2023 we have to do this.. While some text editor made by a solo developer supports language change (e.g. Notepad++). It tool nearly 12 years to make developers of Qt Creator add that feature to..Windows version of Creator. Or permit use source files with encoding that aren't "OS native" in their mind. Oddly enough, features exist on Linux version, just not on Widows. Absense of QoL features in Creater along with clunky interface cause so much stigma that it is considered worst IDE in some corporate workspaces (e.g. my company) and people avoid it. Similar issues with Designer causes developers to move away from Native widgets to QML or ditch Qt UI altogether and use somethign else (OSG,of example). Is this actually the plan?
  • Qt Creator 11 - can't debug using terminal

    Moved Unsolved
    9
    0 Votes
    9 Posts
    1k Views
    P
    Qt Creator 11.0.2 is still broken with debuging when "Run in Terminal" is checked. The release notes states it is fix for linux but it is not
  • Help a noob with Qt Design Studio and Qt Creator

    Unsolved
    3
    0 Votes
    3 Posts
    722 Views
    J
    @JonB Thank you for your response!b I've been considering it, but the main reason I decided to switch to Design Studio was all the possibilities it offered to make a dynamic, good-looking GUI and I'm not sure that Creator-Design can get to that level, as it seem to be more like a LabView to me but I haven't tried it much. I've trying to replicate the MotorBike example included in Design Studio, as that it more or less what I aim to build. Do you think that Creator-Design could replicate something to that degree?
  • Qt 5.9.0 64bit executable app building issue using MSVC2017 64bit kit

    Unsolved
    1
    0 Votes
    1 Posts
    317 Views
    No one has replied
  • QtCreator's Debugger not working with CLI apps

    Solved
    6
    0 Votes
    6 Posts
    671 Views
    Pete CarterP
    @SimonSchroeder Issue fixed in QtCreator 11.0.3 Downloaded it from here: https://download.qt.io/snapshots/qtcreator/11.0/11.0.3/43/
  • Building 64-bit Executable for My Qt Project

    Unsolved
    2
    0 Votes
    2 Posts
    309 Views
    SGaistS
    Hi, The procedure is basically: install a 64bit build of Qt (it should be auto-detected by Qt creator) configure your project to use the 64bit kit that was created through the step above build and enjoy
  • This topic is deleted!

    Unsolved
    1
    0 Votes
    1 Posts
    24 Views
    No one has replied
  • How to use LLVM linker (ld.lld) instead of GNU linker (ld)

    Unsolved
    8
    0 Votes
    8 Posts
    6k Views
    Pete CarterP
    @cristian-adam I remember that there was a command used to check the executable and with what it was linked!
  • Trouble Installing macOS Kit on Windows for Cross-Platform Development

    Unsolved
    5
    0 Votes
    5 Posts
    653 Views
    cristian-adamC
    Please note that https://github.com/myspaghetti/macos-virtualbox only supports macOS 10.x and Qt 6.5 for example requires at least macOS 11.0
  • linker error in vs code

    Moved Unsolved
    14
    0 Votes
    14 Posts
    3k Views
    jsulmJ
    @kamran78nasirizad said in linker error in vs code: Is this the wrong method to download and install Qt and Qt Creator? You should go to https://www.qt.io/download-open-source and download the installer from there.
  • 0 Votes
    4 Posts
    4k Views
    safnaS
    @Tomasz-Ciesla said in is there an easy way to view GUI created in Qt Designer - pyqt via web browser?: Recently I've developed a control application on BeagleBone (similar to RaspberryPi). I'm controlling it remotely using TCP slot and client application with GUI wrote in Qt designer - pyqt. Now I want to do a step forward and replace the TCP slot with web app, so the hardware connected to the BeagleBone will be controlled via browser. It should be a simple app like wireless router configuration. My question: is there a simple way to publish QT designer - pyqt application into web? All I want is to have a possibility to make GUI quickly and easly and then access it via www. Yes, there are ways to publish a PyQt application as a web app to provide browser-based access to your GUI. One approach is to use a technology called PyQtWebEngine, which allows you to embed a web browser component within a PyQt application and display HTML content. Here's a general outline of the steps involved: Design your GUI using PyQt and Qt Designer as you would for a desktop application. Integrate PyQtWebEngine into your application. PyQtWebEngine provides a bridge between the PyQt framework and the underlying browser engine (Chromium). It allows you to load and display web content within a PyQt application. Create the web pages or web app interface using HTML, CSS, and JavaScript. You can design the UI using web technologies and incorporate interactivity and functionality as needed. Use PyQtWebEngine to load your HTML content within the PyQt application. You can load the web pages directly from local files or host them on a web server. Set up the necessary server infrastructure to handle communication between the web app and your BeagleBone device. This may involve implementing a server component that communicates with the BeagleBone over a network protocol such as TCP or WebSocket. Access the web app by running your PyQt application and opening the browser window. Users can then interact with the GUI via the web interface, controlling the BeagleBone remotely. Keep in mind that deploying a web app using PyQtWebEngine may have certain limitations and dependencies, and it may not be as straightforward as deploying a traditional web application. Additionally, you may need to consider security measures, such as authentication and encryption, to protect the communication between the web app and the BeagleBone device.
  • How to send args to Qt Application from Qt Creator

    Moved Solved
    8
    0 Votes
    8 Posts
    2k Views
    C
    @JacobNovitsky That is how you would run it from the Terminal, not Qt Creator. In Qt Creator, you pass arguments to the application via the Command line arguments line edit in Run Settings under the Projects tab.
  • Qt Creator explanations unclear-3 issues

    Moved Unsolved
    8
    0 Votes
    8 Posts
    1k Views
    R
    @Rapidrain This will take more than an hour. Lots to read.
  • How to refresh Qt Creator Projects -> files by command or Shortcut

    Moved Unsolved
    2
    0 Votes
    2 Posts
    730 Views
    sierdzioS
    @JacobNovitsky try newest Qt Creator, I think it got fixed recently.
  • unknown type name 'uintptr_t' when using clang

    Solved
    8
    0 Votes
    8 Posts
    3k Views
    Pete CarterP
    I used the system version of clangd installed in /usr/bin/clangd instead of the version shipped with QtCreator. Now it works fine and no errors. The path of the system clangd version can be changed in Edit -> Preferences -> C++ -> clangd
  • What is "Additional Template Paths"?

    Unsolved qtcreator 11 qt6.5.0 linux desktop
    1
    0 Votes
    1 Posts
    332 Views
    No one has replied
  • Unable to run the project in debug mode

    Moved Unsolved
    15
    0 Votes
    15 Posts
    3k Views
    F
    @JonB The warning for Desktop Qt6.2.4 MinGW 64-bit is ' Display name is not unique ' and the other kits are having warnings saying 'No compiler set in kit'.
  • This topic is deleted!

    Moved Unsolved
    1
    0 Votes
    1 Posts
    2 Views
    No one has replied
  • Project Tree: Source and Headers Inconsistent View

    Moved Solved
    4
    0 Votes
    4 Posts
    565 Views
    C
    @Christian-Ehrlicher said in Project Tree: Source and Headers Inconsistent View: Don't use absolute paths for your source files in your project. I am not. Both source and headers are specified in EXACTLY the same way, but one is being displayed with the absolute path and the other isn't. That said, in fixing an unrelated problem, I had to re-create the project file (changing from cmake to qmake). This fixed this problem and now both show relative to the project directory. It doesn't explain why it was doing that, but since I won't be switching back, it doesn't matter for me.