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. Buttons, LineEdit, ComboBox etc. look ugly in static linked app under Windows 7
Forum Updated to NodeBB v4.3 + New Features

Buttons, LineEdit, ComboBox etc. look ugly in static linked app under Windows 7

Scheduled Pinned Locked Moved General and Desktop
3 Posts 2 Posters 1.3k Views 1 Watching
  • 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
    Pilstrinker
    wrote on last edited by
    #1

    Hey folks,

    I've written a simple Qt-Application and some of my friends want to use it on their Windows 7-machines.
    So I static linked the libs and compiled it, but in the static linked version, the Buttons etc. look like under Win98 (see the pic below), very ugly... if I do a debug-build, everything is normal in Win7 or Win8-Style. It's very strange, because on my development computer (where I've created the App and Qt is installed) the Buttons are in Win98-Style, too....
    Any ideas, how I can fix this and get a pretty good looking Qt-App? ;)

    Greetings, Julian

    Picture: http://www.bilder-upload.eu/show.php?file=3b3775-1354374330.jpg

    1 Reply Last reply
    0
    • JeroentjehomeJ Offline
      JeroentjehomeJ Offline
      Jeroentjehome
      wrote on last edited by
      #2

      Hi,
      Because qt is a crossplatform framework it will use the current's platform views. So to get a Win7 you should compile it on a win7 machine.
      Don't think you could do it any other way.

      greetz

      Greetz, Jeroen

      1 Reply Last reply
      0
      • P Offline
        P Offline
        Pilstrinker
        wrote on last edited by
        #3

        Thank you for your reply.
        I've compiled it under Win7. The only difference are the static linked libs...

        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