Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6359795
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 24, 20262026-05-24T23:33:58+00:00 2026-05-24T23:33:58+00:00

I have C++ widget code that was generated by QtDesigner (Qt open source v

  • 0

I have C++ widget code that was generated by QtDesigner (Qt open source v 4.7.3, using the Form->View Code menu in QtDesigner).

I have modified that code in a manner that is entirely Qt compliant – just hand coded a few more signals, slots and wigdets based on the patterns of the generated code – code runs perfectly when built with Code::Blocks.

Now I’d like to convert my modified C++ source back into the ui XML format that QtDesigner uses. I’m looking for a quick way of doing that (Win7-32 platform).

Any suggestions?

TIA

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-24T23:33:59+00:00Added an answer on May 24, 2026 at 11:33 pm

    The c++ is a really complex language to parse, so it would be really hard / long / expensive to develop such a tool I guess.

    The general rule is to never modify generated code ( in your case the code is generated by Qt designer)

    You can

    • Subclass the generated class and put your modifications in the sub class
    • Code all your interfaces by yourself from scratch.
    • If you think Qt designer lack features you can request them or submit patches to Qt. But I don’t think Qt intend to extend that, since QML has become the new way to go with interfaces.

    The best option for you is probably the first.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Let's say that I have a widget that displays summary information about how many
I am using a fictional example for this. Say, I have a Widget class
I have a UI widget that needs to be put in an IFRAME both
We have a UI widget on our main UI that uses JavaScript to respond
I have some code that I wrote to implement a vertical swipe on a
I have this code that is an example I found. In this code, I
In a webOS app, I have a Mojo.Widget.Slider that I use to set an
I have a JavaScript widget which provides standard extension points. One of them is
I have a K* window, and within it, a widget which needs the events
I have created a few small flash widgets that stream .mp3 audio from an

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.