Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Qt Creator and other tools
  4. Problems with Qt Creator/Designer
Qt 6.11 is out! See what's new in the release blog

Problems with Qt Creator/Designer

Scheduled Pinned Locked Moved Qt Creator and other tools
4 Posts 2 Posters 2.4k Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • N Offline
    N Offline
    nocnashada
    wrote on last edited by
    #1

    I don't know if this is the right forum, but here it goes:

    I have a widget that has a line-edit, a label and a button. When a user clicks the button, the widget reads line-edit, starts a QProcess and gives what it read in as an argument. The process gives back output which is read in by the widget, formatted properly and displayed with the label. It works exactly right. Now I have to accomplish the same thing with Qt Designer.

    How the hell do I do that?!? I'm stumped - all the designer tutorials I've found handle basic stuff like how to connect sliders and other pre-made widgets, but never stuff like this.

    1 Reply Last reply
    0
    • L Offline
      L Offline
      loladiro
      wrote on last edited by
      #2

      You'll have to do it in C++. Have a look at "QProcess":http://doc.qt.nokia.com/4.7/qprocess.html

      1 Reply Last reply
      0
      • N Offline
        N Offline
        nocnashada
        wrote on last edited by
        #3

        I have already done it in basic C++. Now i have to do this with designer.

        Do I conclude correctly that designer wasn't meant for stuff like this? Or at least not as far as basic widgets go. During my playing around with Qt in the last few days, I found my problem would be solved if I managed to make custom widget plugins for the designer, but that was met with varying amounts of unsuccess.

        1 Reply Last reply
        0
        • L Offline
          L Offline
          loladiro
          wrote on last edited by
          #4

          Qt Designer can only handle basic signal/slot/property modification for the basic widgets (and your plugins). It is only used to create the design, not the business logic. That has to be done in C++.

          1 Reply Last reply
          0

          • Login

          • Login or register to search.
          • First post
            Last post
          0
          • Categories
          • Recent
          • Tags
          • Popular
          • Users
          • Groups
          • Search
          • Get Qt Extensions
          • Unsolved