https://bugs.kde.org/show_bug.cgi?id=373585

            Bug ID: 373585
           Summary: There is a naming conflict between QX11Info and
                    kwindowsystem
           Product: frameworks-kwindowsystem
           Version: unspecified
          Platform: Other
                OS: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: NOR
         Component: general
          Assignee: [email protected]
          Reporter: [email protected]
                CC: [email protected]
  Target Milestone: ---

I try to get fix startup notification (it's totally broken) and got this error.
I don't know if you care enough about X11 or Qt plugin naming conflict to fix
this (I didn't check if it can be done without breaking the API). But better
document this somewhere. Feel free to close this bug if you don't care.


In file included from $SRC/desktop/mainwindow.cpp:86:0:
/usr/include/kstartupinfo.h:38:14: error: conflicting declaration 'typedef void
Display'
 typedef void Display;
              ^
In file included from /usr/include/qt5/QtX11Extras/QX11Info:1:0,
                 from $SRC/desktop/mainwindow.cpp:85:
/usr/include/qt5/QtX11Extras/qx11info_x11.h:40:26: note: previous declaration
as 'typedef struct _XDisplay Display'
 typedef struct _XDisplay Display;
                          ^
$SRC/desktop/mainwindow.cpp: In constructor 'MainWindow::MainWindow(QWidget*)':
$SRC/desktop/mainwindow.cpp:93:60: error: request for member 'id' in 'id',
which is of non-class type 'KStartupInfoId()'

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to