Details
-
Bug
-
Resolution: Done
-
P2: Important
-
None
-
5.11
-
None
-
{{paul@maiden:~/Qt_work/qt5$ ./qtbase/bin/qtdiag }}
{{ Qt 5.11.0 (x86_64-little_endian-lp64 shared (dynamic) debug build; by Clang 5.0.1 (tags/RELEASE_501/final)) on "xcb" }}
{{ OS: Debian GNU/Linux buster/sid [linux version 4.14.0-3-amd64]}}
{{Architecture: x86_64; features: SSE2 SSE3 SSSE3 SSE4.1 SSE4.2 AVX AVX2 RTM HLE}}
{{Environment:}}
{{ QT_ACCESSIBILITY="1"}}{{Features: QT_NO_EXCEPTIONS}}
{{Library info:}}
{{ PrefixPath: /home/paul/Qt_work/qt5/qtbase}}
{{ DocumentationPath: /home/paul/Qt_work/qt5/qtbase/doc}}
{{ HeadersPath: /home/paul/Qt_work/qt5/qtbase/include}}
{{ LibrariesPath: /home/paul/Qt_work/qt5/qtbase/lib}}
{{ LibraryExecutablesPath: /home/paul/Qt_work/qt5/qtbase/libexec}}
{{ BinariesPath: /home/paul/Qt_work/qt5/qtbase/bin}}
{{ PluginsPath: /home/paul/Qt_work/qt5/qtbase/plugins}}
{{ ImportsPath: /home/paul/Qt_work/qt5/qtbase/imports}}
{{ Qml2ImportsPath: /home/paul/Qt_work/qt5/qtbase/qml}}
{{ ArchDataPath: /home/paul/Qt_work/qt5/qtbase}}
{{ DataPath: /home/paul/Qt_work/qt5/qtbase}}
{{ TranslationsPath: /home/paul/Qt_work/qt5/qtbase/translations}}
{{ ExamplesPath: /home/paul/Qt_work/qt5/qtbase/examples}}
{{ TestsPath: /home/paul/Qt_work/qt5/qtbase/tests}}
{{ SettingsPath: /home/paul/Qt_work/qt5/qtbase}}
{{Standard paths [*...* denote writable entry]:}}
{{ DesktopLocation: "Desktop" */home/paul/Desktop*}}
{{ DocumentsLocation: "Documents" */home/paul/Documents*}}
{{ FontsLocation: "Fonts" */home/paul/.local/share/fonts* /home/paul/.fonts}}
{{ ApplicationsLocation: "Applications" */home/paul/.local/share/applications* /usr/local/share/applications /usr/share/applications}}
{{ MusicLocation: "Music" */home/paul/Music*}}
{{ MoviesLocation: "Movies" */home/paul/Videos*}}
{{ PicturesLocation: "Pictures" */home/paul/Pictures*}}
{{ TempLocation: "Temporary Directory" */tmp*}}
{{ HomeLocation: "Home" */home/paul*}}
{{ AppLocalDataLocation: "Application Data" */home/paul/.local/share/QtProject/qtdiag* /usr/local/share/QtProject/qtdiag /usr/share/QtProject/qtdiag}}
{{ CacheLocation: "Cache" */home/paul/.cache/QtProject/qtdiag*}}
{{ GenericDataLocation: "Shared Data" */home/paul/.local/share* /usr/local/share /usr/share}}
{{ RuntimeLocation: "Runtime" */run/user/1000*}}
{{ ConfigLocation: "Configuration" */home/paul/.config* /etc/xdg}}
{{ DownloadLocation: "Download" */home/paul/Downloads*}}
{{ GenericCacheLocation: "Shared Cache" */home/paul/.cache*}}
{{ GenericConfigLocation: "Shared Configuration" */home/paul/.config* /etc/xdg}}
{{ AppDataLocation: "Application Data" */home/paul/.local/share/QtProject/qtdiag* /usr/local/share/QtProject/qtdiag /usr/share/QtProject/qtdiag}}
{{ AppConfigLocation: "Application Configuration" */home/paul/.config/QtProject/qtdiag* /etc/xdg/QtProject/qtdiag}}
{{File selectors (increasing order of precedence):}}
{{ en_US unix linux debian}}
{{Network:}}
{{ Using "OpenSSL 1.1.0g 2 Nov 2017", version: 0x1010007f}}
{{Platform capabilities: ThreadedPixmaps OpenGL ThreadedOpenGL WindowMasks MultipleWindows ForeignWindows NonFullScreenWindows NativeWidgets WindowManagement SyncState RasterGLSurface SwitchableWidgetComposition}}
{{Style hints:}}
{{ mouseDoubleClickInterval: 400}}
{{ mousePressAndHoldInterval: 800}}
{{ startDragDistance: 10}}
{{ startDragTime: 500}}
{{ startDragVelocity: 0}}
{{ keyboardInputInterval: 400}}
{{ keyboardAutoRepeatRate: 30}}
{{ cursorFlashTime: 1000}}
{{ showIsFullScreen: 0}}
{{ showIsMaximized: 0}}
{{ passwordMaskDelay: 0}}
{{ passwordMaskCharacter: U+25CF}}
{{ fontSmoothingGamma: 1.7}}
{{ useRtlExtensions: 0}}
{{ setFocusOnTouchRelease: 0}}
{{ tabFocusBehavior: Qt::TabFocusBehavior(TabFocusAllControls) }}
{{ singleClickActivation: 0}}
{{Additional style hints (QPlatformIntegration):}}
{{ ReplayMousePressOutsidePopup: 0}}
{{Theme:}}
{{ Platforms requested : i3,generic}}
{{ available : flatpak,gtk3}}
{{ Styles requested : Fusion,Windows}}
{{ available : Windows,Fusion}}
{{ System font : "Sans Serif" 9}}
{{Fonts:}}
{{ General font : "Sans Serif" 9}}
{{ Fixed font : "monospace" 9}}
{{ Title font : "DejaVu Sans" 12}}
{{ Smallest font: "DejaVu Sans" 12}}
{{Palette:}}
{{ WindowText: #ff000000}}
{{ Button: #ffefefef}}
{{ Light: #ffffffff}}
{{ Midlight: #ffcbcbcb}}
{{ Dark: #ff9f9f9f}}
{{ Mid: #ffb8b8b8}}
{{ Text: #ff000000}}
{{ BrightText: #ffffffff}}
{{ ButtonText: #ff000000}}
{{ Base: #ffffffff}}
{{ Window: #ffefefef}}
{{ Shadow: #ff767676}}
{{ Highlight: #ff308cc6}}
{{ HighlightedText: #ffffffff}}
{{ Link: #ff0000ff}}
{{ LinkVisited: #ffff00ff}}
{{ AlternateBase: #fff7f7f7}}
{{ NoRole: #ff000000}}
{{ ToolTipBase: #ffffffdc}}
{{ ToolTipText: #ff000000}}
{{Screens: 3, High DPI scaling: inactive}}
{{# 0 "DP-3.2" Depth: 24 Primary: yes}}{{ }}
{{ Manufacturer: Eizo Nanao Corporation}}
{{ Model: EV2450}}
{{ Serial number: 45788097}}
{{ Geometry: 1920x1080+1920+0 }}{{Available: 1920x1080+1920+0}}
{{ Virtual geometry: 5760x1080+0+0 Available: 5760x1080+0+0}}
{{ 3 virtual siblings}}
{{ Physical size: 528x297 mm Refresh: 60 Hz Power state: 0}}
{{ Physical DPI: 92.3636,92.3636 Logical DPI: 92.0151,91.1362 Subpixel_None}}
{{ DevicePixelRatio: 1 Pixel density: 1}}
{{ Primary orientation: 2 Orientation: 2 Native orientation: 0 OrientationUpdateMask: 0}}
{{# 1 "DP-3.1" Depth: 24 Primary: no}}
{{ Manufacturer: Eizo Nanao Corporation}}
{{ Model: EV2450}}
{{ Serial number: 45792097}}
{{ Geometry: 1920x1080+3840+0 Available: 1920x1080+3840+0}}
{{ Virtual geometry: 5760x1080+0+0 Available: 5760x1080+0+0}}
{{ 3 virtual siblings}}
{{ Physical size: 528x297 mm Refresh: 60 Hz Power state: 0}}
{{ Physical DPI: 92.3636,92.3636 Logical DPI: 92.0151,91.1362 Subpixel_None}}
{{ DevicePixelRatio: 1 Pixel density: 1}}
{{ Primary orientation: 2 Orientation: 2 Native orientation: 0 OrientationUpdateMask: 0}}
{{# 2 "DP-4" Depth: 24 Primary: no}}
{{ Manufacturer: LQ156D1JW05}}
{{ Model: }}
{{ Serial number: }}
{{ Geometry: 1920x1080+0+0 Available: 1920x1080+0+0}}
{{ Virtual geometry: 5760x1080+0+0 Available: 5760x1080+0+0}}
{{ 3 virtual siblings}}
{{ Physical size: 346x194 mm Refresh: 59 Hz Power state: 0}}
{{ Physical DPI: 140.948,141.402 Logical DPI: 92.0151,91.1362 Subpixel_None}}
{{ DevicePixelRatio: 1 Pixel density: 1}}
{{ Primary orientation: 2 Orientation: 2 Native orientation: 0 OrientationUpdateMask: 0}}
{{LibGL Vendor: NVIDIA Corporation}}
{{ Renderer: Quadro M2000M/PCIe/SSE2}}
{{ Version: 4.5.0 NVIDIA 384.111}}
{{ Shading language: 4.50 NVIDIA}}
{{ Format: Version: 4.5 Profile: 2 Swap behavior: 0 Buffer size (RGB): 8,8,8 Depth buffer: 24}}
{{ Profile: None (QOpenGLFunctions_4_5), Core (QOpenGLFunctions_4_5_Core), Compatibility (QOpenGLFunctions_4_5_Compatibility)}}{{ paul@maiden :~/Qt_work/qt5$ ./qtbase/bin/qtdiag }} {{ Qt 5.11.0 (x86_64-little_endian-lp64 shared (dynamic) debug build; by Clang 5.0.1 (tags/RELEASE_501/final)) on "xcb" }} {{ OS: Debian GNU/Linux buster/sid [linux version 4.14.0-3-amd64]}} {{Architecture: x86_64; features: SSE2 SSE3 SSSE3 SSE4.1 SSE4.2 AVX AVX2 RTM HLE}} {{Environment:}} {{ QT_ACCESSIBILITY="1"}}{{Features: QT_NO_EXCEPTIONS}} {{Library info:}} {{ PrefixPath: /home/paul/Qt_work/qt5/qtbase}} {{ DocumentationPath: /home/paul/Qt_work/qt5/qtbase/doc}} {{ HeadersPath: /home/paul/Qt_work/qt5/qtbase/include}} {{ LibrariesPath: /home/paul/Qt_work/qt5/qtbase/lib}} {{ LibraryExecutablesPath: /home/paul/Qt_work/qt5/qtbase/libexec}} {{ BinariesPath: /home/paul/Qt_work/qt5/qtbase/bin}} {{ PluginsPath: /home/paul/Qt_work/qt5/qtbase/plugins}} {{ ImportsPath: /home/paul/Qt_work/qt5/qtbase/imports}} {{ Qml2ImportsPath: /home/paul/Qt_work/qt5/qtbase/qml}} {{ ArchDataPath: /home/paul/Qt_work/qt5/qtbase}} {{ DataPath: /home/paul/Qt_work/qt5/qtbase}} {{ TranslationsPath: /home/paul/Qt_work/qt5/qtbase/translations}} {{ ExamplesPath: /home/paul/Qt_work/qt5/qtbase/examples}} {{ TestsPath: /home/paul/Qt_work/qt5/qtbase/tests}} {{ SettingsPath: /home/paul/Qt_work/qt5/qtbase}} {{Standard paths [*...* denote writable entry]:}} {{ DesktopLocation: "Desktop" */home/paul/Desktop*}} {{ DocumentsLocation: "Documents" */home/paul/Documents*}} {{ FontsLocation: "Fonts" */home/paul/.local/share/fonts* /home/paul/.fonts}} {{ ApplicationsLocation: "Applications" */home/paul/.local/share/applications* /usr/local/share/applications /usr/share/applications}} {{ MusicLocation: "Music" */home/paul/Music*}} {{ MoviesLocation: "Movies" */home/paul/Videos*}} {{ PicturesLocation: "Pictures" */home/paul/Pictures*}} {{ TempLocation: "Temporary Directory" */tmp*}} {{ HomeLocation: "Home" */home/paul*}} {{ AppLocalDataLocation: "Application Data" */home/paul/.local/share/QtProject/qtdiag* /usr/local/share/QtProject/qtdiag /usr/share/QtProject/qtdiag}} {{ CacheLocation: "Cache" */home/paul/.cache/QtProject/qtdiag*}} {{ GenericDataLocation: "Shared Data" */home/paul/.local/share* /usr/local/share /usr/share}} {{ RuntimeLocation: "Runtime" */run/user/1000*}} {{ ConfigLocation: "Configuration" */home/paul/.config* /etc/xdg}} {{ DownloadLocation: "Download" */home/paul/Downloads*}} {{ GenericCacheLocation: "Shared Cache" */home/paul/.cache*}} {{ GenericConfigLocation: "Shared Configuration" */home/paul/.config* /etc/xdg}} {{ AppDataLocation: "Application Data" */home/paul/.local/share/QtProject/qtdiag* /usr/local/share/QtProject/qtdiag /usr/share/QtProject/qtdiag}} {{ AppConfigLocation: "Application Configuration" */home/paul/.config/QtProject/qtdiag* /etc/xdg/QtProject/qtdiag}} {{File selectors (increasing order of precedence):}} {{ en_US unix linux debian}} {{Network:}} {{ Using "OpenSSL 1.1.0g 2 Nov 2017", version: 0x1010007f}} {{Platform capabilities: ThreadedPixmaps OpenGL ThreadedOpenGL WindowMasks MultipleWindows ForeignWindows NonFullScreenWindows NativeWidgets WindowManagement SyncState RasterGLSurface SwitchableWidgetComposition}} {{Style hints:}} {{ mouseDoubleClickInterval: 400}} {{ mousePressAndHoldInterval: 800}} {{ startDragDistance: 10}} {{ startDragTime: 500}} {{ startDragVelocity: 0}} {{ keyboardInputInterval: 400}} {{ keyboardAutoRepeatRate: 30}} {{ cursorFlashTime: 1000}} {{ showIsFullScreen: 0}} {{ showIsMaximized: 0}} {{ passwordMaskDelay: 0}} {{ passwordMaskCharacter: U+25CF}} {{ fontSmoothingGamma: 1.7}} {{ useRtlExtensions: 0}} {{ setFocusOnTouchRelease: 0}} {{ tabFocusBehavior: Qt::TabFocusBehavior(TabFocusAllControls) }} {{ singleClickActivation: 0}} {{Additional style hints (QPlatformIntegration):}} {{ ReplayMousePressOutsidePopup: 0}} {{Theme:}} {{ Platforms requested : i3,generic}} {{ available : flatpak,gtk3}} {{ Styles requested : Fusion,Windows}} {{ available : Windows,Fusion}} {{ System font : "Sans Serif" 9}} {{Fonts:}} {{ General font : "Sans Serif" 9}} {{ Fixed font : "monospace" 9}} {{ Title font : "DejaVu Sans" 12}} {{ Smallest font: "DejaVu Sans" 12}} {{Palette:}} {{ WindowText: #ff000000}} {{ Button: #ffefefef}} {{ Light: #ffffffff}} {{ Midlight: #ffcbcbcb}} {{ Dark: #ff9f9f9f}} {{ Mid: #ffb8b8b8}} {{ Text: #ff000000}} {{ BrightText: #ffffffff}} {{ ButtonText: #ff000000}} {{ Base: #ffffffff}} {{ Window: #ffefefef}} {{ Shadow: #ff767676}} {{ Highlight: #ff308cc6}} {{ HighlightedText: #ffffffff}} {{ Link: #ff0000ff}} {{ LinkVisited: #ffff00ff}} {{ AlternateBase: #fff7f7f7}} {{ NoRole: #ff000000}} {{ ToolTipBase: #ffffffdc}} {{ ToolTipText: #ff000000}} {{Screens: 3, High DPI scaling: inactive}} {{# 0 "DP-3.2" Depth: 24 Primary: yes}}{{ }} {{ Manufacturer: Eizo Nanao Corporation}} {{ Model: EV2450}} {{ Serial number: 45788097}} {{ Geometry: 1920x1080+1920+0 }}{{Available: 1920x1080+1920+0}} {{ Virtual geometry: 5760x1080+0+0 Available: 5760x1080+0+0}} {{ 3 virtual siblings}} {{ Physical size: 528x297 mm Refresh: 60 Hz Power state: 0}} {{ Physical DPI: 92.3636,92.3636 Logical DPI: 92.0151,91.1362 Subpixel_None}} {{ DevicePixelRatio: 1 Pixel density: 1}} {{ Primary orientation: 2 Orientation: 2 Native orientation: 0 OrientationUpdateMask: 0}} {{# 1 "DP-3.1" Depth: 24 Primary: no}} {{ Manufacturer: Eizo Nanao Corporation}} {{ Model: EV2450}} {{ Serial number: 45792097}} {{ Geometry: 1920x1080+3840+0 Available: 1920x1080+3840+0}} {{ Virtual geometry: 5760x1080+0+0 Available: 5760x1080+0+0}} {{ 3 virtual siblings}} {{ Physical size: 528x297 mm Refresh: 60 Hz Power state: 0}} {{ Physical DPI: 92.3636,92.3636 Logical DPI: 92.0151,91.1362 Subpixel_None}} {{ DevicePixelRatio: 1 Pixel density: 1}} {{ Primary orientation: 2 Orientation: 2 Native orientation: 0 OrientationUpdateMask: 0}} {{# 2 "DP-4" Depth: 24 Primary: no}} {{ Manufacturer: LQ156D1JW05}} {{ Model: }} {{ Serial number: }} {{ Geometry: 1920x1080+0+0 Available: 1920x1080+0+0}} {{ Virtual geometry: 5760x1080+0+0 Available: 5760x1080+0+0}} {{ 3 virtual siblings}} {{ Physical size: 346x194 mm Refresh: 59 Hz Power state: 0}} {{ Physical DPI: 140.948,141.402 Logical DPI: 92.0151,91.1362 Subpixel_None}} {{ DevicePixelRatio: 1 Pixel density: 1}} {{ Primary orientation: 2 Orientation: 2 Native orientation: 0 OrientationUpdateMask: 0}} {{LibGL Vendor: NVIDIA Corporation}} {{ Renderer: Quadro M2000M/PCIe/SSE2}} {{ Version: 4.5.0 NVIDIA 384.111}} {{ Shading language: 4.50 NVIDIA}} {{ Format: Version: 4.5 Profile: 2 Swap behavior: 0 Buffer size (RGB): 8,8,8 Depth buffer: 24}} {{ Profile: None (QOpenGLFunctions_4_5), Core (QOpenGLFunctions_4_5_Core), Compatibility (QOpenGLFunctions_4_5_Compatibility)}}
Description
What did you do? Also known as: Steps to reproduce.
- Install libclang from Debian packages (apt install libclang-common-5.0-dev libclang-5.0-dev)
- Clone qt5 git repository
- export LLVM_INSTALL_DIR=/usr/lib/llvm-5.0
- ./configure -developer-build -confirm-license -opensource -no-xcb -nomake examples -nomake tests
- make -j12
- make prepare_docs
- cd qtxmlpatterns
- make html_docs &> doc_build.log
- grep '(qdoc)' doc_build.log | wc -l
What did you expect to happen?
I expected 26 warnings (based on the doc_snapshots warning count).
What happened instead?
I had about 330 warnings. Fixing warnings produced new (other) warnings, instead of removing them.
Further information
Example build log with broken includes and resulting mess is attached: doc_build.log
Enable verbose error reporting from clang by setting on line 1438:
CXIndex index = clang_createIndex(1, 1);
---------- describes similar issues, and has two suggested fixes: remove /usr/include from qt5/.qmake.stash or pass QMAKE_CFLAGS_ISYSTEM= as argument to configure. Both did not work, as -isystem /usr/include was still passed to qdoc on invocation, as seen when surrounding the call to the parser at line 1231 in qt5/qttols/src/qdoc/clangcodeparser.cpp with this debugging code:QTBUG-53367
Generator::startDebugging(moduleHeader());
qCDebug(lcQdoc) << _FUNCTION_ << "clang_parseTranslationUnit2("
<< tmpHeader << args_ << ") returns" << err;
Generator::stopDebugging(moduleHeader());
The HEINOUS_SYSINC_HACK on line 734 of qttools/src/qdoc/main.cpp and the following for loop ends up inserting -isystem /usr/include. According to the FreeBSD bug tracker, this messes up the include path ordering:
Short answer: Don't use -isystem /usr/include.
Attachments
Issue Links
- relates to
-
PYSIDE-620 Documentation generation fails when using shadow build or source tree from SDK as opposed to in-source build
-
- Closed
-