Details
-
Bug
-
Resolution: Done
-
Not Evaluated
-
None
-
Qt Creator 4.9.0
-
None
-
{noformat}Qt 5.12.2 (x86_64-little_endian-llp64 shared (dynamic) release build; by MSVC 2017) on "windows"
OS: Windows 10 (10.0) [winnt version 10.0.17763]
Architecture: x86_64; features: SSE2 SSE3 SSSE3 SSE4.1 SSE4.2 AVX AVX2 RTM HLE
Environment:
QT_LOGGING_RULES="qtc.clang*=true"
Features: QT_NO_EXCEPTIONS
Library info:
PrefixPath: c:\qt\qtcreator-4.9.0\bin
DocumentationPath: c:\qt\qtcreator-4.9.0\bin\doc
HeadersPath: c:\qt\qtcreator-4.9.0\bin\include
LibrariesPath: c:\qt\qtcreator-4.9.0\bin
LibraryExecutablesPath: c:\qt\qtcreator-4.9.0\bin\bin
BinariesPath: c:\qt\qtcreator-4.9.0\bin
PluginsPath: c:\qt\qtcreator-4.9.0\bin\plugins
ImportsPath: c:\qt\qtcreator-4.9.0\bin\imports
Qml2ImportsPath: c:\qt\qtcreator-4.9.0\bin\qml
ArchDataPath: c:\qt\qtcreator-4.9.0\bin
DataPath: c:\qt\qtcreator-4.9.0\bin
TranslationsPath: c:\qt\qtcreator-4.9.0\bin\translations
ExamplesPath: c:\qt\qtcreator-4.9.0\bin\examples
TestsPath: c:\qt\qtcreator-4.9.0\bin\tests
SettingsPath:
Standard paths [*...* denote writable entry]:
DesktopLocation: "Desktop" *C:\Users\connie\Desktop*
DocumentsLocation: "Documents" *C:\Users\connie\Documents*
FontsLocation: "Fonts" *C:\WINDOWS\Fonts*
ApplicationsLocation: "Applications" *C:\Users\connie\AppData\Roaming\Microsoft\Windows\Start Menu\Programs*
MusicLocation: "Music" *C:\Users\connie\Music*
MoviesLocation: "Movies" *C:\Users\connie\Videos*
PicturesLocation: "Pictures" *C:\Users\connie\Pictures*
TempLocation: "Temporary Directory" *C:\Users\connie\AppData\Local\Temp*
HomeLocation: "Home" *C:\Users\connie*
AppLocalDataLocation: "Application Data" *C:\Users\connie\AppData\Local\QtProject\qtdiag* C:\ProgramData\QtProject\qtdiag c:\qt\qtcreator-4.9.0\bin c:\qt\qtcreator-4.9.0\bin\data c:\qt\qtcreator-4.9.0\bin\data\QtProject\qtdiag
CacheLocation: "Cache" *C:\Users\connie\AppData\Local\QtProject\qtdiag\cache*
GenericDataLocation: "Shared Data" *C:\Users\connie\AppData\Local* C:\ProgramData c:\qt\qtcreator-4.9.0\bin c:\qt\qtcreator-4.9.0\bin\data
RuntimeLocation: "Runtime" *C:\Users\connie*
ConfigLocation: "Configuration" *C:\Users\connie\AppData\Local\QtProject\qtdiag* C:\ProgramData\QtProject\qtdiag c:\qt\qtcreator-4.9.0\bin c:\qt\qtcreator-4.9.0\bin\data c:\qt\qtcreator-4.9.0\bin\data\QtProject\qtdiag
DownloadLocation: "Download" *C:\Users\connie\Downloads*
GenericCacheLocation: "Shared Cache" *C:\Users\connie\AppData\Local\cache*
GenericConfigLocation: "Shared Configuration" *C:\Users\connie\AppData\Local* C:\ProgramData c:\qt\qtcreator-4.9.0\bin c:\qt\qtcreator-4.9.0\bin\data
AppDataLocation: "Application Data" *C:\Users\connie\AppData\Roaming\QtProject\qtdiag* C:\ProgramData\QtProject\qtdiag c:\qt\qtcreator-4.9.0\bin c:\qt\qtcreator-4.9.0\bin\data c:\qt\qtcreator-4.9.0\bin\data\QtProject\qtdiag
AppConfigLocation: "Application Configuration" *C:\Users\connie\AppData\Local\QtProject\qtdiag* C:\ProgramData\QtProject\qtdiag c:\qt\qtcreator-4.9.0\bin c:\qt\qtcreator-4.9.0\bin\data c:\qt\qtcreator-4.9.0\bin\data\QtProject\qtdiag
File selectors (increasing order of precedence):
pl_PL windows winnt
Network:
Using "OpenSSL 1.0.2j 26 Sep 2016", version: 0x100020af
Platform capabilities: ThreadedPixmaps OpenGL ThreadedOpenGL WindowMasks MultipleWindows ForeignWindows NonFullScreenWindows NativeWidgets WindowManagement RasterGLSurface AllGLFunctionsQueryable
Style hints:
mouseDoubleClickInterval: 500
mousePressAndHoldInterval: 800
startDragDistance: 10
startDragTime: 500
startDragVelocity: 0
keyboardInputInterval: 400
keyboardAutoRepeatRate: 32
cursorFlashTime: 1060
showIsFullScreen: 0
showIsMaximized: 0
passwordMaskDelay: 0
passwordMaskCharacter: U+25CF
fontSmoothingGamma: 1.2
useRtlExtensions: 0
setFocusOnTouchRelease: 0
tabFocusBehavior: Qt::TabFocusAllControls
singleClickActivation: 0
Additional style hints (QPlatformIntegration):
ReplayMousePressOutsidePopup: 1
Theme:
Platforms requested : windows
available : snap,flatpak,xdgdesktopportal
Styles requested : WindowsVista,Windows
available : windowsvista,Windows,Fusion
System font : "MS Shell Dlg 2" 8
Native file dialog
Fonts:
General font : "MS Shell Dlg 2" 8
Fixed font : "Courier New" 9
Title font : "MS Shell Dlg 2" 8
Smallest font: "MS Shell Dlg 2" 8
Palette:
QPalette::WindowText: #ff000000
QPalette::Button: #fff0f0f0
QPalette::Light: #ffffffff
QPalette::Midlight: #ffe3e3e3
QPalette::Dark: #ffa0a0a0
QPalette::Mid: #ffa0a0a0
QPalette::Text: #ff000000
QPalette::BrightText: #ffffffff
QPalette::ButtonText: #ff000000
QPalette::Base: #ffffffff
QPalette::Window: #fff0f0f0
QPalette::Shadow: #ff696969
QPalette::Highlight: #ff0078d7
QPalette::HighlightedText: #ffffffff
QPalette::Link: #ff0000ff
QPalette::LinkVisited: #ffff00ff
QPalette::AlternateBase: #ffe9e7e3
QPalette::NoRole: #ff000000
QPalette::ToolTipBase: #ffffffdc
QPalette::ToolTipText: #ff000000
QPalette::PlaceholderText: #80000000
Screens: 2, High DPI scaling: inactive
# 0 "\\.\DISPLAY2" Depth: 32 Primary: yes
Manufacturer:
Model:
Serial number:
Geometry: 1920x1080+0+0 Available: 1920x1050+0+0
Virtual geometry: 3840x1080+0+0 Available: 3840x1050+0+0
2 virtual siblings
Physical size: 476x268 mm Refresh: 60 Hz Power state: 0
Physical DPI: 102.454,102.358 Logical DPI: 96,96 Subpixel_None
DevicePixelRatio: 1 Pixel density: 1
Primary orientation: 2 Orientation: 2 Native orientation: 0 OrientationUpdateMask: 0
# 1 "\\.\DISPLAY1" Depth: 32 Primary: no
Manufacturer:
Model:
Serial number:
Geometry: 1920x1080+1920+0 Available: 1920x1050+1920+0
Virtual geometry: 3840x1080+0+0 Available: 3840x1050+0+0
2 virtual siblings
Physical size: 476x268 mm Refresh: 60 Hz Power state: 0
Physical DPI: 102.454,102.358 Logical DPI: 96,96 Subpixel_None
DevicePixelRatio: 1 Pixel density: 1
Primary orientation: 2 Orientation: 2 Native orientation: 0 OrientationUpdateMask: 0
Dynamic GL LibGL Vendor: NVIDIA Corporation
Renderer: GeForce GTX 1060 6GB/PCIe/SSE2
Version: 4.6.0 NVIDIA 411.31
Shading language: 4.60 NVIDIA
Format: Version: 4.6 Profile: 2 Swap behavior: 2 Buffer size (RGBA): 8,8,8,8 Depth buffer: 24 Stencil buffer: 8
Profile: None (QOpenGLFunctions_4_6)
Vulkan instance available
Supported instance extensions:
VK_KHR_device_group_creation, version 1
VK_KHR_external_fence_capabilities, version 1
VK_KHR_external_memory_capabilities, version 1
VK_KHR_external_semaphore_capabilities, version 1
VK_KHR_get_physical_device_properties2, version 1
VK_KHR_get_surface_capabilities2, version 1
VK_KHR_surface, version 25
VK_KHR_win32_surface, version 6
VK_EXT_debug_report, version 9
VK_EXT_debug_utils, version 1
VK_EXT_display_surface_counter, version 1
VK_EXT_swapchain_colorspace, version 3
VK_NV_external_memory_capabilities, version 1
Supported layers:
VK_LAYER_NV_optimus, version 1, spec version 1.1.82, NVIDIA Optimus layer
VK_LAYER_NV_nsight, version 1, spec version 1.1.71, NVIDIA Nsight interception layer
VK_LAYER_LUNARG_standard_validation, version 1, spec version 1.0.82, LunarG Standard Validation Layer
Available physical devices:
API version 1.1.82, vendor 0x10DE, device 0x1C03, GeForce GTX 1060 6GB, type 2, driver version 411.124.0
GPU:
Card name : NVIDIA GeForce GTX 1060 6GB
Driver Name : nvldumdx.dll
Driver Version : 24.21.14.1131
Vendor ID : 0x10DE
Device ID : 0x1C03
SubSys ID : 0x371A1458
Revision ID : 0x00A1{noformat}{noformat}Qt 5.12.2 (x86_64-little_endian-llp64 shared (dynamic) release build; by MSVC 2017) on "windows" OS: Windows 10 (10.0) [winnt version 10.0.17763] Architecture: x86_64; features: SSE2 SSE3 SSSE3 SSE4.1 SSE4.2 AVX AVX2 RTM HLE Environment: QT_LOGGING_RULES="qtc.clang*=true" Features: QT_NO_EXCEPTIONS Library info: PrefixPath: c:\qt\qtcreator-4.9.0\bin DocumentationPath: c:\qt\qtcreator-4.9.0\bin\doc HeadersPath: c:\qt\qtcreator-4.9.0\bin\include LibrariesPath: c:\qt\qtcreator-4.9.0\bin LibraryExecutablesPath: c:\qt\qtcreator-4.9.0\bin\bin BinariesPath: c:\qt\qtcreator-4.9.0\bin PluginsPath: c:\qt\qtcreator-4.9.0\bin\plugins ImportsPath: c:\qt\qtcreator-4.9.0\bin\imports Qml2ImportsPath: c:\qt\qtcreator-4.9.0\bin\qml ArchDataPath: c:\qt\qtcreator-4.9.0\bin DataPath: c:\qt\qtcreator-4.9.0\bin TranslationsPath: c:\qt\qtcreator-4.9.0\bin\translations ExamplesPath: c:\qt\qtcreator-4.9.0\bin\examples TestsPath: c:\qt\qtcreator-4.9.0\bin\tests SettingsPath: Standard paths [*...* denote writable entry]: DesktopLocation: "Desktop" *C:\Users\connie\Desktop* DocumentsLocation: "Documents" *C:\Users\connie\Documents* FontsLocation: "Fonts" *C:\WINDOWS\Fonts* ApplicationsLocation: "Applications" *C:\Users\connie\AppData\Roaming\Microsoft\Windows\Start Menu\Programs* MusicLocation: "Music" *C:\Users\connie\Music* MoviesLocation: "Movies" *C:\Users\connie\Videos* PicturesLocation: "Pictures" *C:\Users\connie\Pictures* TempLocation: "Temporary Directory" *C:\Users\connie\AppData\Local\Temp* HomeLocation: "Home" *C:\Users\connie* AppLocalDataLocation: "Application Data" *C:\Users\connie\AppData\Local\QtProject\qtdiag* C:\ProgramData\QtProject\qtdiag c:\qt\qtcreator-4.9.0\bin c:\qt\qtcreator-4.9.0\bin\data c:\qt\qtcreator-4.9.0\bin\data\QtProject\qtdiag CacheLocation: "Cache" *C:\Users\connie\AppData\Local\QtProject\qtdiag\cache* GenericDataLocation: "Shared Data" *C:\Users\connie\AppData\Local* C:\ProgramData c:\qt\qtcreator-4.9.0\bin c:\qt\qtcreator-4.9.0\bin\data RuntimeLocation: "Runtime" *C:\Users\connie* ConfigLocation: "Configuration" *C:\Users\connie\AppData\Local\QtProject\qtdiag* C:\ProgramData\QtProject\qtdiag c:\qt\qtcreator-4.9.0\bin c:\qt\qtcreator-4.9.0\bin\data c:\qt\qtcreator-4.9.0\bin\data\QtProject\qtdiag DownloadLocation: "Download" *C:\Users\connie\Downloads* GenericCacheLocation: "Shared Cache" *C:\Users\connie\AppData\Local\cache* GenericConfigLocation: "Shared Configuration" *C:\Users\connie\AppData\Local* C:\ProgramData c:\qt\qtcreator-4.9.0\bin c:\qt\qtcreator-4.9.0\bin\data AppDataLocation: "Application Data" *C:\Users\connie\AppData\Roaming\QtProject\qtdiag* C:\ProgramData\QtProject\qtdiag c:\qt\qtcreator-4.9.0\bin c:\qt\qtcreator-4.9.0\bin\data c:\qt\qtcreator-4.9.0\bin\data\QtProject\qtdiag AppConfigLocation: "Application Configuration" *C:\Users\connie\AppData\Local\QtProject\qtdiag* C:\ProgramData\QtProject\qtdiag c:\qt\qtcreator-4.9.0\bin c:\qt\qtcreator-4.9.0\bin\data c:\qt\qtcreator-4.9.0\bin\data\QtProject\qtdiag File selectors (increasing order of precedence): pl_PL windows winnt Network: Using "OpenSSL 1.0.2j 26 Sep 2016", version: 0x100020af Platform capabilities: ThreadedPixmaps OpenGL ThreadedOpenGL WindowMasks MultipleWindows ForeignWindows NonFullScreenWindows NativeWidgets WindowManagement RasterGLSurface AllGLFunctionsQueryable Style hints: mouseDoubleClickInterval: 500 mousePressAndHoldInterval: 800 startDragDistance: 10 startDragTime: 500 startDragVelocity: 0 keyboardInputInterval: 400 keyboardAutoRepeatRate: 32 cursorFlashTime: 1060 showIsFullScreen: 0 showIsMaximized: 0 passwordMaskDelay: 0 passwordMaskCharacter: U+25CF fontSmoothingGamma: 1.2 useRtlExtensions: 0 setFocusOnTouchRelease: 0 tabFocusBehavior: Qt::TabFocusAllControls singleClickActivation: 0 Additional style hints (QPlatformIntegration): ReplayMousePressOutsidePopup: 1 Theme: Platforms requested : windows available : snap,flatpak,xdgdesktopportal Styles requested : WindowsVista,Windows available : windowsvista,Windows,Fusion System font : "MS Shell Dlg 2" 8 Native file dialog Fonts: General font : "MS Shell Dlg 2" 8 Fixed font : "Courier New" 9 Title font : "MS Shell Dlg 2" 8 Smallest font: "MS Shell Dlg 2" 8 Palette: QPalette::WindowText: #ff000000 QPalette::Button: #fff0f0f0 QPalette::Light: #ffffffff QPalette::Midlight: #ffe3e3e3 QPalette::Dark: #ffa0a0a0 QPalette::Mid: #ffa0a0a0 QPalette::Text: #ff000000 QPalette::BrightText: #ffffffff QPalette::ButtonText: #ff000000 QPalette::Base: #ffffffff QPalette::Window: #fff0f0f0 QPalette::Shadow: #ff696969 QPalette::Highlight: #ff0078d7 QPalette::HighlightedText: #ffffffff QPalette::Link: #ff0000ff QPalette::LinkVisited: #ffff00ff QPalette::AlternateBase: #ffe9e7e3 QPalette::NoRole: #ff000000 QPalette::ToolTipBase: #ffffffdc QPalette::ToolTipText: #ff000000 QPalette::PlaceholderText: #80000000 Screens: 2, High DPI scaling: inactive # 0 "\\.\DISPLAY2" Depth: 32 Primary: yes Manufacturer: Model: Serial number: Geometry: 1920x1080+0+0 Available: 1920x1050+0+0 Virtual geometry: 3840x1080+0+0 Available: 3840x1050+0+0 2 virtual siblings Physical size: 476x268 mm Refresh: 60 Hz Power state: 0 Physical DPI: 102.454,102.358 Logical DPI: 96,96 Subpixel_None DevicePixelRatio: 1 Pixel density: 1 Primary orientation: 2 Orientation: 2 Native orientation: 0 OrientationUpdateMask: 0 # 1 "\\.\DISPLAY1" Depth: 32 Primary: no Manufacturer: Model: Serial number: Geometry: 1920x1080+1920+0 Available: 1920x1050+1920+0 Virtual geometry: 3840x1080+0+0 Available: 3840x1050+0+0 2 virtual siblings Physical size: 476x268 mm Refresh: 60 Hz Power state: 0 Physical DPI: 102.454,102.358 Logical DPI: 96,96 Subpixel_None DevicePixelRatio: 1 Pixel density: 1 Primary orientation: 2 Orientation: 2 Native orientation: 0 OrientationUpdateMask: 0 Dynamic GL LibGL Vendor: NVIDIA Corporation Renderer: GeForce GTX 1060 6GB/PCIe/SSE2 Version: 4.6.0 NVIDIA 411.31 Shading language: 4.60 NVIDIA Format: Version: 4.6 Profile: 2 Swap behavior: 2 Buffer size (RGBA): 8,8,8,8 Depth buffer: 24 Stencil buffer: 8 Profile: None (QOpenGLFunctions_4_6) Vulkan instance available Supported instance extensions: VK_KHR_device_group_creation, version 1 VK_KHR_external_fence_capabilities, version 1 VK_KHR_external_memory_capabilities, version 1 VK_KHR_external_semaphore_capabilities, version 1 VK_KHR_get_physical_device_properties2, version 1 VK_KHR_get_surface_capabilities2, version 1 VK_KHR_surface, version 25 VK_KHR_win32_surface, version 6 VK_EXT_debug_report, version 9 VK_EXT_debug_utils, version 1 VK_EXT_display_surface_counter, version 1 VK_EXT_swapchain_colorspace, version 3 VK_NV_external_memory_capabilities, version 1 Supported layers: VK_LAYER_NV_optimus, version 1, spec version 1.1.82, NVIDIA Optimus layer VK_LAYER_NV_nsight, version 1, spec version 1.1.71, NVIDIA Nsight interception layer VK_LAYER_LUNARG_standard_validation, version 1, spec version 1.0.82, LunarG Standard Validation Layer Available physical devices: API version 1.1.82, vendor 0x10DE, device 0x1C03, GeForce GTX 1060 6GB, type 2, driver version 411.124.0 GPU: Card name : NVIDIA GeForce GTX 1060 6GB Driver Name : nvldumdx.dll Driver Version : 24.21.14.1131 Vendor ID : 0x10DE Device ID : 0x1C03 SubSys ID : 0x371A1458 Revision ID : 0x00A1{noformat}
Description
I'm using qtcreator only as a code editor ("generic project") with external build system, compiler set in the Kit is a MVCC 15.0 (and64).
Contrary to the documentation (https://doc.qt.io/qtcreator/creator-project-generic.html#forwarding-flags-to-clang-code-model), all flags to the clang code model must be present in first line of the projects' cxxflags file.
For example, the following code:
#include <tuple> namespace n::m { int foo() { int a = 1, b = 2; try { } catch (...) { } const auto& [x, y] = std::tie(a, b); return x+y; } }
Gets parsed correctly when projects' cxxflags file contains
/std:c++17 /EHsc
However, when those flags are in separate lines, only the first one is used, and CCM gives errors.