Skip to content

Qt Design Studio

For questions about Qt Design Studio

88 Topics 278 Posts
  • Qt 6 tree view component missing

    Unsolved
    2
    0 Votes
    2 Posts
    92 Views
    T

    True TableView and TreeView tooling is missing - create a report that you expect it at https://bugreports.qt.io/

  • How can I add QtPdf module to Qt Design Studio?

    Solved
    9
    0 Votes
    9 Posts
    274 Views
    T

    somehow I oversaw that - 4.5 will have it, next time just create a bug report and we will see it earlier - https://bugreports.qt.io/browse/QDS-12654

  • code.qt.io ping timeout

    Locked Unsolved
    2
    0 Votes
    2 Posts
    62 Views
    Christian EhrlicherC

    See https://forum.qt.io/topic/154616/unable-to-reach-to-https-code-qt-io

  • Export project to CMake Files fails

    Unsolved
    1
    0 Votes
    1 Posts
    103 Views
    No one has replied
  • Loading QtGraphicalEffects in design studio

    Solved
    2
    0 Votes
    2 Posts
    268 Views
    T

    Hi,

    The last Qt Design Studio version, which has still native Qt 5 support, is Qt Design Studio 4.1. Therefore this version is still available in the Maintenance Tool.
    Make sure to choose Qt 5 for the imports and for the kit.

    In this case, the Qt 5 based QtGraphicalEffects are fully available.

    In Qt 6 only a limited version (import Qt5Compat.GraphicalEffects) is available for compatibility.

  • 0 Votes
    2 Posts
    230 Views
    ?

    Found it: https://bugreports.qt.io/secure/Dashboard.jspa

  • Unable to Open File

    Solved
    11
    0 Votes
    11 Posts
    610 Views
    V

    @JonB Thanks I was able to do it.
    Actually I opened a folder in vscode and then open this file which was in another location. Hence that error message. Thank you for your help.

  • Qt tool for designing my site

    Unsolved
    2
    0 Votes
    2 Posts
    185 Views
    sierdzioS

    @Larkin Qt is not a web framework, so the Design Studio will likely not help you at all. Unless maybe if you intend to use Qt and WebAssembly to build your site.

  • Relative Paths for Images

    Solved
    4
    0 Votes
    4 Posts
    282 Views
    D

    @danilo_jn if anyone is wondering, the right way to do this is:

    source: "file:footage/image.png"

    For it to work with QtDesign Studio simply create a folder called "footage" in the root of your project. Then when you build your app transfer that folder so it's right next to you exe.

  • Qt Design Studio cannot find any valid kits

    Solved
    6
    0 Votes
    6 Posts
    415 Views
    J

    Alright, I've figured out the last step of the problem.

    It seems since updating Design Studio, my project will not load in a live preview or allow the project to be ran. It doesn't produce any errors when doing this.

    However, looking more carefully, it seems that is because there is a bug in my project in this new version. (if I comment out all my code in the root file and just draw a rectangle, then the project will load).

    The "output" window isn't logging anything, all that happens is I click the preview button and nothing happens. I'd appreciate if anyone could tell me where I am meant to figure out what part of my project is broken. But this at least solves the last part of the problem and directs in the right direction.

  • I'm adding a video but it's not showing

    Unsolved
    2
    0 Votes
    2 Posts
    508 Views
    H

    @Deichor Video by default isn't playing. You need to call play() on the video item. If you don't want a button or any other UI element to start the video, you could use Component.onCompleted() to call the play() method.

  • Top menu bar disappeared

    Unsolved
    2
    0 Votes
    2 Posts
    382 Views
    T

    There is a setting we inherited from Qt Creator (https://bugreports.qt.io/browse/QTCREATORBUG-30114).

    You can edit "%appdata%\QtProject\QtDesignStudio.ini" and remove the MenubarVisible line from the [MainWindow] section:

    [MainWindow]
    MenubarVisible=false

    Why Ctrl+Alt+M is not working for you is unclear. You can check the Keyboard Shortcut in the options:

    e36d52bb-f99f-4015-a3ad-04e2b3a3bc96-image.png

  • How to compile Qt Designer Studio ?

    Unsolved
    4
    0 Votes
    4 Posts
    545 Views
    T

    You can find a super repository to build Qt Design Studio here: https://git.qt.io/public-demos/qt-design-studio

    We plan to simplify the process, sp that Qt Design Studio can be build from simply the Qt Creator repository.

  • design studio (not my app) mouse scrolling problem

    Unsolved
    2
    0 Votes
    2 Posts
    209 Views
    T

    Hi,

    There is no option and the next release should have this behavior sanitized.

  • What should be gitignored

    Unsolved
    3
    0 Votes
    3 Posts
    185 Views
    T

    Those files are part of the C++ boiler plate application and if you plan to build the application in Qt they should be checked in.

  • So many bugs in Design Studio

    Unsolved
    4
    0 Votes
    4 Posts
    327 Views
    T

    I am Sorry,that you have such a bad experience using Qt Design Studio. It looks like something in your setup went seriously wrong.
    Can you report your issue here: https://bugreports.qt.io/projects/QDS?

    My first guess is that you did not create a project.

  • General question about application flow in D.S.

    Unsolved
    1
    0 Votes
    1 Posts
    173 Views
    No one has replied
  • Toon shader in QT designer

    Unsolved
    1
    0 Votes
    1 Posts
    225 Views
    No one has replied
  • Dynamic Grid

    Unsolved
    6
    0 Votes
    6 Posts
    693 Views
    P

    @James-Gallegos said in Dynamic Grid:

    Creating a grid view with a maximum width for images is a common task in many graphical user interface (GUI) frameworks. In C++, you have a few options depending on which GUI library you're using. Here are two popular libraries and how you might approach this task with them:

    Qt (Using Qt Widgets)
    If you're using Qt, you can use the QGridLayout to create a grid layout and QLabel widgets to display the images. You can set a maximum width for the labels to ensure the images don't exceed a certain width. Here's a simplified example: geometry dash meltdown #include <QtWidgets> int main(int argc, char *argv[]) { QApplication app(argc, argv); QWidget window; QGridLayout *gridLayout = new QGridLayout(&window); // Assuming images is a vector of QPixmap or QImage for(int i = 0; i < images.size(); ++i) { QLabel *label = new QLabel; label->setPixmap(QPixmap::fromImage(images[i])); label->setMaximumWidth(maxWidth); // Set your maximum width here gridLayout->addWidget(label, i / numColumns, i % numColumns); } window.show(); return app.exec(); } GTK (Using Gtkmm)
    If you're using GTK, you can use Gtkmm, the C++ bindings for GTK. You can create a Gtk::Grid and Gtk::Image widgets to achieve the same effect: #include <gtkmm.h> int main(int argc, char *argv[]) { auto app = Gtk::Application::create(argc, argv, "org.example"); Gtk::Window window; Gtk::Grid grid; window.add(grid); // Assuming images is a vector of Glib::RefPtr<Gdk::Pixbuf> for(int i = 0; i < images.size(); ++i) { Gtk::Image* image = new Gtk:: Image(images[i]); image->set_max_width_chars(maxWidth); // Set your maximum width here grid.attach(*image, i % numColumns, i / numColumns); } window.show_all(); return app->run(window); }

    Both of these examples assume you have a vector of images (images) that you want to display in a grid, and they won't exceed a certain maximum width (maxWidth). You can adjust numColumns to control how many images are displayed per row.

    Remember to replace the placeholders (images, maxWidth, numColumns) with your actual data and desired values. Also, make sure you have the appropriate dependencies and include statements for the GUI libraries you're using.

    It worked for me

  • gltf texture issues

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