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. UIC bug?
Forum Updated to NodeBB v4.3 + New Features

UIC bug?

Scheduled Pinned Locked Moved General and Desktop
1 Posts 1 Posters 725 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.
  • W Offline
    W Offline
    wibstr
    wrote on last edited by
    #1

    I just noticed the following platform-specific #ifdefs in some of the uic-generated code in my project:

    @ verticalLayout = new QVBoxLayout();
    #ifndef Q_OS_MAC
    verticalLayout->setSpacing(6);
    #endif
    #ifndef Q_OS_MAC
    verticalLayout->setContentsMargins(9, 9, 9, 9);
    #endif@

    I noticed it because it looked terrible on Mac - it wasn't what I had laid out in Designer. This only recently started happening and I can't figure out what triggered it.

    Has anyone seen this before? Is this a bug with UIC? It sure seems like it. Any workaround suggestions appreciated.

    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