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 8216103
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 7, 20262026-06-07T12:00:58+00:00 2026-06-07T12:00:58+00:00

I am about to start designing a UI. The UI is expected to be

  • 0

I am about to start designing a UI. The UI is expected to be complex and will have several screens one of which will be a text editor. The application is in C++ and in order to leverage some existing functionality, I have decided to use Qt for the UI. However, I want to be able to write the UI in such a way that it is easy to replace Qt with any other UI library at a later point – or even use different libraries for different platforms.

I am leaning towards containing the QT objects in my own classes and using my classes throughout. Is this a good design? I preferred this as opposed to sub-classing(which is recommended by Qt) as subclassing seems to be a very rigid binding. However, this means that I will have to write a wrapper for every method that Qt exposes and I will also not be able to use QtCreator.

What do you think? Could you describe the advantages/disadvantages of the choice of method. It would be great if you could point me to any examples or to any good design principles.

  • 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-06-07T12:01:01+00:00Added an answer on June 7, 2026 at 12:01 pm

    You don’t. The GUI libraries are the abstraction. If you really want to compile your application with different backends – you might look into WxWidgets. But be warned – the library is very different from Qt.

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

Sidebar

Related Questions

I'm currently about to start designing a new application. The application will allow a
I am designing an green field application, development will start on it tomorrow as
How would one go about defining something like this in an xsd? <start> <request
I'm about to start a new project. The purpose of this project will be
I'm about to start writing a static library for an iOS application and got
I'm about to start using the MS ReportViewer in a WPF application by placing
I am in the process of designing an application that will allow you to
I have an application which executes multiple queries (query1, query2, query3) against a DB,
I'm about to start designing my site that I coded in php. It's a
I have a chance to start porting a legacy application written in C++/Powerbuilder to

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.