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. QT5: Q_WS_WIN macros
Forum Updated to NodeBB v4.3 + New Features

QT5: Q_WS_WIN macros

Scheduled Pinned Locked Moved General and Desktop
2 Posts 2 Posters 10.6k 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.
  • J Offline
    J Offline
    jmnemonik
    wrote on last edited by
    #1

    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
    0
    • sierdzioS Offline
      sierdzioS Offline
      sierdzio
      Moderators
      wrote on last edited by
      #2

      Please report this bug on JIRA.

      Q_WS* macros were dropped in favour of Q_OS*.

      (Z(:^

      1 Reply Last reply
      1

      • Login

      • Login or register to search.
      • First post
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • Users
      • Groups
      • Search
      • Get Qt Extensions
      • Unsolved