Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. Adding mainwindow.ui to the "qcam" example so I can use the Designer interface?
Forum Updated to NodeBB v4.3 + New Features

Adding mainwindow.ui to the "qcam" example so I can use the Designer interface?

Scheduled Pinned Locked Moved Unsolved General and Desktop
2 Posts 2 Posters 725 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.
  • R Offline
    R Offline
    rollyng
    wrote on last edited by
    #1

    Hi folks,
    I am new to Qt Creator and I would like to control the main window of the "qcam" example from the libcamera API in Raspberry Pi 4.
    qcam does make use of Qt widgets but it does not have the mainwindow.ui and therefore I cannot control the buttons and combobox in Designer. How can I add the ui file to qcam so I can make use of the Designer interface?
    Please take a look and thank you!
    rolly2022-07-14-154347_2560x1440_scrot.png

    1 Reply Last reply
    0
    • SGaistS Offline
      SGaistS Offline
      SGaist
      Lifetime Qt Champion
      wrote on last edited by
      #2

      Hi,

      You would need to reproduce the interface in designer based on the code.

      That said, what changes do you want to do ? Writing the UI in code will likely be faster than translating it to designer.

      Interested in AI ? www.idiap.ch
      Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

      1 Reply Last reply
      1

      • Login

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