https://bugs.freedesktop.org/show_bug.cgi?id=84263

          Priority: medium
            Bug ID: 84263
          Assignee: [email protected]
           Summary: compile issues with old Qt includes
          Severity: normal
    Classification: Unclassified
                OS: Linux (All)
          Reporter: [email protected]
          Hardware: Other
            Status: UNCONFIRMED
           Version: 4.3.1.2 release
         Component: Libreoffice
           Product: LibreOffice

Created attachment 106763
  --> https://bugs.freedesktop.org/attachment.cgi?id=106763&action=edit
patch to fix Qt includes

I wonder how anyone could compile libreoffice with KDE4/Qt4 support on an
up-to-date installation. I had several compile errors because some Qt header
files (like QString) were not found, which was quite obvious as the proper
include paths were not set during compilation and the directory prefixes were
not used (example: use <QtCore/QString> instead of <QString>).

Additionally there was an include with wrong quotation (#include "QString"
instead of #include <QString>) and also some old (deprecated) include file
names.

Fixing was quite simple, all affected files are under
libreoffice-4.3.1.2/shell/source/backends/kde4be/*, please find the patch in
the attachment...

my system:

- Gentoo Linux
- dev-qt/qtcore-4.8.5-r2
- kde-base/kdelibs-4.14.1
- sys-devel/gcc-4.8.3

-- 
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
Libreoffice-bugs mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs

Reply via email to