Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Installation and Deployment
  4. Messed Up Layout in Deployed Qt Application on Windows 10
Forum Updated to NodeBB v4.3 + New Features

Messed Up Layout in Deployed Qt Application on Windows 10

Scheduled Pinned Locked Moved Solved Installation and Deployment
layoutdeploymentwindows 10
2 Posts 1 Posters 1.4k 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.
  • A Offline
    A Offline
    AKstatistics
    wrote on last edited by
    #1

    When I launch my deployed application from the .exe file the layout is messed up. When I launch the app from Qt Creator, the layout is fine.

    Here are the details about how I deployed my app. I am using Qt 5.5 and MinGW 32 bit 4.9.2. I am running Windows 10.

    First in Qt Creator I built for release.

    Next, I opened the Qt 5.5 for Desktop (MinGW 4.9.2 32 bit) console.

    I navigated to my project folder and ran

    windeployqt.exe --release ./APPNAME.exe
    

    It copied all the necessary .dll and created some folders as expected.

    Now when I run the app, it seems to work just fine. But the layouts are all wrong. Again, when launching the app from Qt Creator it looks great! Proper spacing and sizing of my widgets. When I launch the .exe every thing is smooshed, the ratios of my sliders are all wrong, and some text is hidden because of crowding.

    What could cause this bad layout? Am I missing some dependency somehow?

    A 1 Reply Last reply
    0
    • A AKstatistics

      When I launch my deployed application from the .exe file the layout is messed up. When I launch the app from Qt Creator, the layout is fine.

      Here are the details about how I deployed my app. I am using Qt 5.5 and MinGW 32 bit 4.9.2. I am running Windows 10.

      First in Qt Creator I built for release.

      Next, I opened the Qt 5.5 for Desktop (MinGW 4.9.2 32 bit) console.

      I navigated to my project folder and ran

      windeployqt.exe --release ./APPNAME.exe
      

      It copied all the necessary .dll and created some folders as expected.

      Now when I run the app, it seems to work just fine. But the layouts are all wrong. Again, when launching the app from Qt Creator it looks great! Proper spacing and sizing of my widgets. When I launch the .exe every thing is smooshed, the ratios of my sliders are all wrong, and some text is hidden because of crowding.

      What could cause this bad layout? Am I missing some dependency somehow?

      A Offline
      A Offline
      AKstatistics
      wrote on last edited by
      #2

      @AKstatistics Solved my own problem. Cross posted on Stack Overflow
      http://stackoverflow.com/q/34056095/4179820

      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