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. the mac app when deploy UI is different from the same mac app when debug UI
QtWS25 Last Chance

the mac app when deploy UI is different from the same mac app when debug UI

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

    I developed a mac qt app, now I need to deploy it, so I add many .dylib and contain the platform-specific .dylib which is libqcocoa.dylib , and after that my app can run on other mac , but when I run the app on other mac , the UI is different from the UI which I the debug the mac app on myself mac , the two UIs Just similar , it make me confuse, the UI when I run my mac app in other mac is not what I design, is there any knowledge about this situation, please give me some links, thanks a lot!

    here is the two UIs screenshot :

    the UI when debug:
    https://github.com/iOSPrincekin/Qt/blob/master/QA/7.png
    the UI when run on other mac:
    https://github.com/iOSPrincekin/Qt/blob/master/QA/8.png

    K 1 Reply Last reply
    0
    • P Princein

      I developed a mac qt app, now I need to deploy it, so I add many .dylib and contain the platform-specific .dylib which is libqcocoa.dylib , and after that my app can run on other mac , but when I run the app on other mac , the UI is different from the UI which I the debug the mac app on myself mac , the two UIs Just similar , it make me confuse, the UI when I run my mac app in other mac is not what I design, is there any knowledge about this situation, please give me some links, thanks a lot!

      here is the two UIs screenshot :

      the UI when debug:
      https://github.com/iOSPrincekin/Qt/blob/master/QA/7.png
      the UI when run on other mac:
      https://github.com/iOSPrincekin/Qt/blob/master/QA/8.png

      K Offline
      K Offline
      kenchan
      wrote on last edited by
      #2

      @Princein said in the mac app when deploy UI is different from the same mac app when debug UI:

      https://github.com/iOSPrincekin/Qt/blob/master/QA/8.png

      Are you setting the default style for you app before you do any styling yourself. The fusion style is a good one to use on any platform.

      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