Qt Forum

    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Unsolved

    Update: Forum Guidelines & Code of Conduct

    QT5: Q_WS_WIN macros

    General and Desktop
    2
    2
    10169
    Loading More Posts
    • 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.
    • J
      jmnemonik last edited by

      My app uses qtwebkit and embedded in webpage widget through my derived QWebPluginFactory.
      My web page uses some layers one of which is my widget.
      The problem: Widget is visible, but his parent layer isn't visible(css property visibility:hidden)
      On viewing the source code I found that in the implementation of the function QWidgetPrivate::hide_helper(qtbase\src\widgets\kernel\qwidget.cpp) is macros Q_WS_WIN.
      There are many places where it is used Q_WS_WIN, but its definition is nowhere.
      I tried to add a definition of the macro(ifdef Q_OS_WIN) in the file qsystemdetection.h and rebuild qt, but got a lot of compilation errors.

      My toolset: Qt 5.0.0, mvs c++ compiler(visual studio 2008sp1+sdk), windows 7

      1 Reply Last reply Reply Quote 0
      • sierdzio
        sierdzio Moderators last edited by

        Please report this bug on JIRA.

        Q_WS* macros were dropped in favour of Q_OS*.

        (Z(:^

        1 Reply Last reply Reply Quote 1
        • First post
          Last post