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. Qt6.1.2 static + MSVS2019 + Extension Qt Visual Studio Tools 2.7.1.20
Qt 6.11 is out! See what's new in the release blog

Qt6.1.2 static + MSVS2019 + Extension Qt Visual Studio Tools 2.7.1.20

Scheduled Pinned Locked Moved Unsolved General and Desktop
2 Posts 2 Posters 442 Views
  • 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.
  • S Offline
    S Offline
    snik
    wrote on last edited by
    #1

    I create console application
    when I build application I has plenty errors C7525, C2429, E0439 .... the errors claim that need option /std:c++17
    I was switch it on the project but errors was not resolved.
    where is mistake in my settings?

    command line to compilation and linking is bellow.
    /MP /ifcOutput "x64\Release" /GS /W1 /Zc:wchar_t /I"C:\Qt\qt6\include" /I"C:\Qt\qt6\include\QtGui" /I"C:\Qt\qt6\include\QtCore" /I"C:\Qt\qt6\mkspecs\win32-msvc" /Gm- /O2 /Fd"x64\Release\vc142.pdb" /Zc:inline /fp:precise /D "UNICODE" /D "_UNICODE" /D "WIN32" /D "_ENABLE_EXTENDED_ALIGNED_STORAGE" /D "WIN64" /D "NDEBUG" /D "QT_NO_DEBUG" /D "QT_GUI_LIB" /D "QT_CORE_LIB" /errorReport:prompt /WX- /Zc:forScope /std:c17 /Gd /MD /std:c++17 /FC /Fa"x64\Release" /EHsc /nologo /Fo"x64\Release" /Fp"x64\Release\test.pch" /diagnostics:column

    /OUT:"C:\project\QT\Rep\test\x64\Release\test.exe" /MANIFEST /NXCOMPAT /PDB:"C:\project\QT\Rep\test\x64\Release\test.pdb" /DYNAMICBASE "C:\Qt\qt6\plugins\platforms\qwindows.lib" "imm32.lib" "oleaut32.lib" "shlwapi.lib" "winspool.lib" "wtsapi32.lib" "C:\Qt\qt6\lib\Qt6OpenGL.lib" "C:\Qt\qt6\lib\objects-Release\QWindowsIntegrationPlugin_resources_1.rcc\qrc_openglblacklists.cpp.obj" "C:\Qt\qt6\lib\objects-Release\QWindowsIntegrationPlugin_resources_2.rcc\qrc_cursors.cpp.obj" "C:\Qt\qt6\plugins\iconengines\qsvgicon.lib" "C:\Qt\qt6\plugins\imageformats\qgif.lib" "C:\Qt\qt6\plugins\imageformats\qicns.lib" "C:\Qt\qt6\plugins\imageformats\qico.lib" "C:\Qt\qt6\plugins\imageformats\qjpeg.lib" "C:\Qt\qt6\plugins\imageformats\qsvg.lib" "C:\Qt\qt6\lib\Qt6Svg.lib" "C:\Qt\qt6\plugins\imageformats\qtga.lib" "C:\Qt\qt6\plugins\imageformats\qtiff.lib" "C:\Qt\qt6\plugins\imageformats\qwbmp.lib" "C:\Qt\qt6\plugins\imageformats\qwebp.lib" "C:\Qt\qt6\plugins\styles\qwindowsvistastyle.lib" "C:\Qt\qt6\lib\Qt6Widgets.lib" "dwmapi.lib" "uxtheme.lib" "C:\Qt\qt6\lib\objects-Release\Widgets_resources_1.rcc\qrc_qstyle.cpp.obj" "C:\Qt\qt6\lib\objects-Release\Widgets_resources_2.rcc\qrc_qstyle1.cpp.obj" "C:\Qt\qt6\lib\objects-Release\Widgets_resources_3.rcc\qrc_qmessagebox.cpp.obj" "C:\Qt\qt6\lib\Qt6Gui.lib" "d3d11.lib" "dxgi.lib" "dxguid.lib" "gdi32.lib" "C:\Qt\qt6\lib\Qt6BundledHarfbuzz.lib" "C:\Qt\qt6\lib\Qt6BundledFreetype.lib" "C:\Qt\qt6\lib\Qt6BundledLibpng.lib" "d2d1.lib" "dwrite.lib" "C:\Qt\qt6\lib\objects-Release\Gui_resources_1.rcc\qrc_qpdf.cpp.obj" "C:\Qt\qt6\lib\Qt6Core.lib" "mpr.lib" "userenv.lib" "advapi32.lib" "kernel32.lib" "netapi32.lib" "ole32.lib" "shell32.lib" "user32.lib" "uuid.lib" "version.lib" "winmm.lib" "ws2_32.lib" "C:\Qt\qt6\lib\Qt6BundledPcre2.lib" "C:\Qt\qt6\lib\Qt6EntryPoint.lib" "comdlg32.lib" "odbc32.lib" "odbccp32.lib" /MACHINE:X64 /PGD:"C:\project\QT\Rep\test\x64\Release\test.pgd" /SUBSYSTEM:CONSOLE /MANIFESTUAC:"level='asInvoker' uiAccess='false'" /ManifestFile:"x64\Release\test.exe.intermediate.manifest" /LTCGOUT:"x64\Release\test.iobj" /ERRORREPORT:PROMPT /NOLOGO /TLBID:1

    VRoninV 1 Reply Last reply
    0
    • S snik

      I create console application
      when I build application I has plenty errors C7525, C2429, E0439 .... the errors claim that need option /std:c++17
      I was switch it on the project but errors was not resolved.
      where is mistake in my settings?

      command line to compilation and linking is bellow.
      /MP /ifcOutput "x64\Release" /GS /W1 /Zc:wchar_t /I"C:\Qt\qt6\include" /I"C:\Qt\qt6\include\QtGui" /I"C:\Qt\qt6\include\QtCore" /I"C:\Qt\qt6\mkspecs\win32-msvc" /Gm- /O2 /Fd"x64\Release\vc142.pdb" /Zc:inline /fp:precise /D "UNICODE" /D "_UNICODE" /D "WIN32" /D "_ENABLE_EXTENDED_ALIGNED_STORAGE" /D "WIN64" /D "NDEBUG" /D "QT_NO_DEBUG" /D "QT_GUI_LIB" /D "QT_CORE_LIB" /errorReport:prompt /WX- /Zc:forScope /std:c17 /Gd /MD /std:c++17 /FC /Fa"x64\Release" /EHsc /nologo /Fo"x64\Release" /Fp"x64\Release\test.pch" /diagnostics:column

      /OUT:"C:\project\QT\Rep\test\x64\Release\test.exe" /MANIFEST /NXCOMPAT /PDB:"C:\project\QT\Rep\test\x64\Release\test.pdb" /DYNAMICBASE "C:\Qt\qt6\plugins\platforms\qwindows.lib" "imm32.lib" "oleaut32.lib" "shlwapi.lib" "winspool.lib" "wtsapi32.lib" "C:\Qt\qt6\lib\Qt6OpenGL.lib" "C:\Qt\qt6\lib\objects-Release\QWindowsIntegrationPlugin_resources_1.rcc\qrc_openglblacklists.cpp.obj" "C:\Qt\qt6\lib\objects-Release\QWindowsIntegrationPlugin_resources_2.rcc\qrc_cursors.cpp.obj" "C:\Qt\qt6\plugins\iconengines\qsvgicon.lib" "C:\Qt\qt6\plugins\imageformats\qgif.lib" "C:\Qt\qt6\plugins\imageformats\qicns.lib" "C:\Qt\qt6\plugins\imageformats\qico.lib" "C:\Qt\qt6\plugins\imageformats\qjpeg.lib" "C:\Qt\qt6\plugins\imageformats\qsvg.lib" "C:\Qt\qt6\lib\Qt6Svg.lib" "C:\Qt\qt6\plugins\imageformats\qtga.lib" "C:\Qt\qt6\plugins\imageformats\qtiff.lib" "C:\Qt\qt6\plugins\imageformats\qwbmp.lib" "C:\Qt\qt6\plugins\imageformats\qwebp.lib" "C:\Qt\qt6\plugins\styles\qwindowsvistastyle.lib" "C:\Qt\qt6\lib\Qt6Widgets.lib" "dwmapi.lib" "uxtheme.lib" "C:\Qt\qt6\lib\objects-Release\Widgets_resources_1.rcc\qrc_qstyle.cpp.obj" "C:\Qt\qt6\lib\objects-Release\Widgets_resources_2.rcc\qrc_qstyle1.cpp.obj" "C:\Qt\qt6\lib\objects-Release\Widgets_resources_3.rcc\qrc_qmessagebox.cpp.obj" "C:\Qt\qt6\lib\Qt6Gui.lib" "d3d11.lib" "dxgi.lib" "dxguid.lib" "gdi32.lib" "C:\Qt\qt6\lib\Qt6BundledHarfbuzz.lib" "C:\Qt\qt6\lib\Qt6BundledFreetype.lib" "C:\Qt\qt6\lib\Qt6BundledLibpng.lib" "d2d1.lib" "dwrite.lib" "C:\Qt\qt6\lib\objects-Release\Gui_resources_1.rcc\qrc_qpdf.cpp.obj" "C:\Qt\qt6\lib\Qt6Core.lib" "mpr.lib" "userenv.lib" "advapi32.lib" "kernel32.lib" "netapi32.lib" "ole32.lib" "shell32.lib" "user32.lib" "uuid.lib" "version.lib" "winmm.lib" "ws2_32.lib" "C:\Qt\qt6\lib\Qt6BundledPcre2.lib" "C:\Qt\qt6\lib\Qt6EntryPoint.lib" "comdlg32.lib" "odbc32.lib" "odbccp32.lib" /MACHINE:X64 /PGD:"C:\project\QT\Rep\test\x64\Release\test.pgd" /SUBSYSTEM:CONSOLE /MANIFESTUAC:"level='asInvoker' uiAccess='false'" /ManifestFile:"x64\Release\test.exe.intermediate.manifest" /LTCGOUT:"x64\Release\test.iobj" /ERRORREPORT:PROMPT /NOLOGO /TLBID:1

      VRoninV Offline
      VRoninV Offline
      VRonin
      wrote on last edited by
      #2

      Qt6.1.2 static

      How did you compile it? are you sure you built it for 64 bit architecture?

      "La mort n'est rien, mais vivre vaincu et sans gloire, c'est mourir tous les jours"
      ~Napoleon Bonaparte

      On a crusade to banish setIndexWidget() from the holy land of Qt

      1 Reply Last reply
      0

      • Login

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