UIC bug?

  • 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
    #ifndef Q_OS_MAC
    verticalLayout->setContentsMargins(9, 9, 9, 9);

    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.

Log in to reply

Looks like your connection to Qt Forum was lost, please wait while we try to reconnect.