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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 23, 20262026-05-23T12:31:28+00:00 2026-05-23T12:31:28+00:00

I have a Windows program that writen in QT using C++. May I know

  • 0

I have a Windows program that writen in QT using C++. May I know whether those code wrote for Windows platform are convertible to Mac? Is it 100% of the code are convertible or none of it are convertible?

  • 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-23T12:31:28+00:00Added an answer on May 23, 2026 at 12:31 pm

    There are a couple of things that are different on the Mac

    • the Installer of your application needs to be written from scratch (if you have on)
    • Windows API calls need to be ported (if there are any)
    • file associations (e.g. .doc means call WinWord.exe) are done differently on Mac OS
    • double clicking an associated file is implemented differently (not via argv as in Windows)
    • the menus are different (the default menu contains for example the About Box, whereas the About Box in Windows is usually located under the Help Menu) – note that this can be expressed in native, good QT, but usually, Windows programmers forget to implement menus cleanly)
    • and so on.

    So my conclusion would be: While it is possible to write clean Qt code which can be 100% ported from one OS to another, usually, programmers fail to do it 100% clean and thus there will be some porting work to be done.

    As hexa recommends, go ahead, compile the stuff and try to sort the errors into categories.
    Once you have these categories, make your decision on how to proceed.

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

Sidebar

Related Questions

I have a program that creates a Windows user account using the NetUserAdd() API
I have a cross platform program that runs on Windows, Linux and Macintosh. My
Using R in Windows 7 I have a program that creates a big matrix
I have a Windows C# program that uses a C++ dll for data i/o.
I have a Windows C++ program that is doing something like: FILE* pf =
I have a program that I need to run under *nix and windows. because
I have a network C++ program in Windows that I'd like to test for
I have an executable that is started by a windows service, this program will
I am referring specifically to windows 7. I have code that associates a certain
I have to write a simple program that will draw something in a Windows

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.