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. Compilation error with Visual Studio
Forum Updated to NodeBB v4.3 + New Features

Compilation error with Visual Studio

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

    I am using Visual studio 2019 with compilor v120 and qt 5.15
    Error code like following, I have no idea where to look for the issue. Is there anyone seen similar issue?:
    3>c:\qt\5.15.2\msvc2019\include\qtcore\qglobal.h(391): error C2146: syntax error : missing ';' before identifier 'Deprecated_t'
    3>c:\qt\5.15.2\msvc2019\include\qtcore\qglobal.h(391): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
    3>c:\qt\5.15.2\msvc2019\include\qtcore\qglobal.h(477): error C3646: 'noexcept' : unknown override specifier
    3>c:\qt\5.15.2\msvc2019\include\qtcore\qglobal.h(663): error C2143: syntax error : missing ';' before '<cv-qualifer>'
    3>c:\qt\5.15.2\msvc2019\include\qtcore\qglobal.h(663): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
    3>c:\qt\5.15.2\msvc2019\include\qtcore\qglobal.h(663): error C2143: syntax error : missing ';' before '&'
    3>c:\qt\5.15.2\msvc2019\include\qtcore\qglobal.h(663): error C2143: syntax error : missing ',' before '&'
    3>c:\qt\5.15.2\msvc2019\include\qtcore\qglobal.h(665): error C2143: syntax error : missing ';' before '<cv-qualifer>'
    3>c:\qt\5.15.2\msvc2019\include\qtcore\qglobal.h(665): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
    3>c:\qt\5.15.2\msvc2019\include\qtcore\qglobal.h(665): error C2143: syntax error : missing ';' before '&'
    3>c:\qt\5.15.2\msvc2019\include\qtcore\qglobal.h(665): error C2143: syntax error : missing ',' before '&'

    1 Reply Last reply
    0
    • nageshN Offline
      nageshN Offline
      nagesh
      wrote on last edited by
      #2

      @chiyuwang Check for the required header file for inclusion and c++ standard

      1 Reply Last reply
      1

      • Login

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