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. Absurd moc errors after renaming objects (Windows, Qt 5.14.1, msvc2017_64)
Forum Updated to NodeBB v4.3 + New Features

Absurd moc errors after renaming objects (Windows, Qt 5.14.1, msvc2017_64)

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

    Hi. I renamed a couple objects in my ui file using qt designer. I am now getting absurd syntax errors from my moc file for a class I created called "processing_thread" in in the qicon, qpalette, qwidget, and winuser header files. I renamed nothing in this file and it doesn't even have any of the renamed objects in it. Any idea what I could have missed here?? Something to do with qt macros or #include?? It was building just fine before the renaming.

    1>C:\Program Files (x86)\Windows Kits\10\Include\10.0.18362.0\um\winuser.h(15363,15): error C2143: syntax error: missing ')' before 'constant' (compiling source file x64\Debug\\moc\moc_processing_thread.cpp)
    1>C:\Program Files (x86)\Windows Kits\10\Include\10.0.18362.0\um\winuser.h(15363,15): error C2143: syntax error: missing ';' before 'constant' (compiling source file x64\Debug\\moc\moc_processing_thread.cpp)
    1>C:\Program Files (x86)\Windows Kits\10\Include\10.0.18362.0\um\winuser.h(15363,15): error C2059: syntax error: 'constant' (compiling source file x64\Debug\\moc\moc_processing_thread.cpp)
    1>C:\Program Files (x86)\Windows Kits\10\Include\10.0.18362.0\um\winuser.h(15364,26): error C2059: syntax error: ')' (compiling source file x64\Debug\\moc\moc_processing_thread.cpp)
    1>C:\Qt\5.14.1\msvc2017_64\include\QtGui\qpalette.h(61,50): error C2143: syntax error: missing ')' before 'constant' (compiling source file x64\Debug\\moc\moc_processing_thread.cpp)
    1>C:\Qt\5.14.1\msvc2017_64\include\QtGui\qpalette.h(61,50): error C2143: syntax error: missing ';' before 'constant' (compiling source file x64\Debug\\moc\moc_processing_thread.cpp)
    1>C:\Qt\5.14.1\msvc2017_64\include\QtGui\qpalette.h(61,57): error C2059: syntax error: 'constant' (compiling source file x64\Debug\\moc\moc_processing_thread.cpp)
    1>C:\Qt\5.14.1\msvc2017_64\include\QtGui\qpalette.h(61,57): error C2059: syntax error: ')' (compiling source file x64\Debug\\moc\moc_processing_thread.cpp)
    1>C:\Qt\5.14.1\msvc2017_64\include\QtGui\qpalette.h(61,57): error C2238: unexpected token(s) preceding ';' (compiling source file x64\Debug\\moc\moc_processing_thread.cpp)
    1>C:\Qt\5.14.1\msvc2017_64\include\QtGui\qpalette.h(64,75): error C2143: syntax error: missing ')' before 'constant' (compiling source file x64\Debug\\moc\moc_processing_thread.cpp)
    1>C:\Qt\5.14.1\msvc2017_64\include\QtGui\qpalette.h(64,75): error C2143: syntax error: missing ';' before 'constant' (compiling source file x64\Debug\\moc\moc_processing_thread.cpp)
    1>C:\Qt\5.14.1\msvc2017_64\include\QtGui\qpalette.h(62,82): error C2059: syntax error: 'constant' (compiling source file x64\Debug\\moc\moc_processing_thread.cpp)
    1>C:\Qt\5.14.1\msvc2017_64\include\QtGui\qpalette.h(62,82): error C2059: syntax error: ')' (compiling source file x64\Debug\\moc\moc_processing_thread.cpp)
    1>C:\Qt\5.14.1\msvc2017_64\include\QtGui\qpalette.h(62,82): error C2238: unexpected token(s) preceding ';' (compiling source file x64\Debug\\moc\moc_processing_thread.cpp)
    1>C:\Qt\5.14.1\msvc2017_64\include\QtGui\qpalette.h(65,54): error C2143: syntax error: missing ')' before 'constant' (compiling source file x64\Debug\\moc\moc_processing_thread.cpp)
    1>C:\Qt\5.14.1\msvc2017_64\include\QtGui\qpalette.h(65,54): error C2143: syntax error: missing ';' before 'constant' (compiling source file x64\Debug\\moc\moc_processing_thread.cpp)
    1>C:\Qt\5.14.1\msvc2017_64\include\QtGui\qpalette.h(65,92): error C2535: 'QPalette::QPalette(const QColor &,const QColor &)': member function already defined or declared (compiling source file x64\Debug\\moc\moc_processing_thread.cpp)
    1>C:\Qt\5.14.1\msvc2017_64\include\QtGui\qpalette.h(61): message : see declaration of 'QPalette::QPalette' (compiling source file x64\Debug\\moc\moc_processing_thread.cpp)
    1>C:\Qt\5.14.1\msvc2017_64\include\QtGui\qpalette.h(65,92): error C2059: syntax error: 'constant' (compiling source file x64\Debug\\moc\moc_processing_thread.cpp)
    1>C:\Qt\5.14.1\msvc2017_64\include\QtGui\qpalette.h(65,92): error C2059: syntax error: ')' (compiling source file x64\Debug\\moc\moc_processing_thread.cpp)
    1>C:\Qt\5.14.1\msvc2017_64\include\QtGui\qpalette.h(65,92): error C2238: unexpected token(s) preceding ';' (compiling source file x64\Debug\\moc\moc_processing_thread.cpp)
    1>C:\Qt\5.14.1\msvc2017_64\include\QtGui\qpalette.h(120,38): error C2143: syntax error: missing ')' before 'constant' (compiling source file x64\Debug\\moc\moc_processing_thread.cpp)
    1>C:\Qt\5.14.1\msvc2017_64\include\QtGui\qpalette.h(120,38): error C2143: syntax error: missing ';' before 'constant' (compiling source file x64\Debug\\moc\moc_processing_thread.cpp)
    1>C:\Qt\5.14.1\msvc2017_64\include\QtGui\qpalette.h(120,38): error C2059: syntax error: 'constant' (compiling source file x64\Debug\\moc\moc_processing_thread.cpp)
    1>C:\Qt\5.14.1\msvc2017_64\include\QtGui\qpalette.h(120,44): error C2059: syntax error: ')' (compiling source file x64\Debug\\moc\moc_processing_thread.cpp)
    1>C:\Qt\5.14.1\msvc2017_64\include\QtGui\qpalette.h(120,45): error C2238: unexpected token(s) preceding ';' (compiling source file x64\Debug\\moc\moc_processing_thread.cpp)
    1>C:\Qt\5.14.1\msvc2017_64\include\QtGui\qpalette.h(135,26): error C2059: syntax error: 'constant' (compiling source file x64\Debug\\moc\moc_processing_thread.cpp)
    1>C:\Qt\5.14.1\msvc2017_64\include\QtGui\qpalette.h(135,41): error C2334: unexpected token(s) preceding '{'; skipping apparent function body (compiling source file x64\Debug\\moc\moc_processing_thread.cpp)
    1>C:\Qt\5.14.1\msvc2017_64\include\QtGui\qpalette.h(170,38): error C2143: syntax error: missing ')' before 'constant' (compiling source file x64\Debug\\moc\moc_processing_thread.cpp)
    1>C:\Qt\5.14.1\msvc2017_64\include\QtGui\qpalette.h(170,38): error C2143: syntax error: missing ';' before 'constant' (compiling source file x64\Debug\\moc\moc_processing_thread.cpp)
    1>C:\Qt\5.14.1\msvc2017_64\include\QtGui\qpalette.h(170,38): error C2059: syntax error: 'constant' (compiling source file x64\Debug\\moc\moc_processing_thread.cpp)
    1>C:\Qt\5.14.1\msvc2017_64\include\QtGui\qpalette.h(173,70): error C2059: syntax error: ')' (compiling source file x64\Debug\\moc\moc_processing_thread.cpp)
    1>C:\Qt\5.14.1\msvc2017_64\include\QtGui\qpalette.h(173,71): error C2238: unexpected token(s) preceding ';' (compiling source file x64\Debug\\moc\moc_processing_thread.cpp)
    1>C:\Qt\5.14.1\msvc2017_64\include\QtGui\qpalette.h(178,38): error C2143: syntax error: missing ')' before 'constant' (compiling source file x64\Debug\\moc\moc_processing_thread.cpp)
    1>C:\Qt\5.14.1\msvc2017_64\include\QtGui\qpalette.h(178,38): error C2143: syntax error: missing ';' before 'constant' (compiling source file x64\Debug\\moc\moc_processing_thread.cpp)
    1>C:\Qt\5.14.1\msvc2017_64\include\QtGui\qpalette.h(178,38): error C2535: 'void QPalette::setColorGroup(QPalette::ColorGroup,const QBrush &,const QBrush &,const QBrush &,const QBrush &,const QBrush &,const QBrush &,const QBrush &,const QBrush &,const QBrush &,const QBrush &)': member function already defined or declared (compiling source file x64\Debug\\moc\moc_processing_thread.cpp)
    1>C:\Qt\5.14.1\msvc2017_64\include\QtGui\qpalette.h(166): message : see declaration of 'QPalette::setColorGroup' (compiling source file x64\Debug\\moc\moc_processing_thread.cpp)
    1>C:\Qt\5.14.1\msvc2017_64\include\QtGui\qpalette.h(178,38): error C2059: syntax error: 'constant' (compiling source file x64\Debug\\moc\moc_processing_thread.cpp)
    1>C:\Qt\5.14.1\msvc2017_64\include\QtGui\qpalette.h(182,76): error C2059: syntax error: ')' (compiling source file x64\Debug\\moc\moc_processing_thread.cpp)
    1>C:\Qt\5.14.1\msvc2017_64\include\QtGui\qpalette.h(182,77): error C2238: unexpected token(s) preceding ';' (compiling source file x64\Debug\\moc\moc_processing_thread.cpp)
    1>C:\Qt\5.14.1\msvc2017_64\include\QtGui\qpalette.h(149,54): error C2064: term does not evaluate to a function taking 0 arguments (compiling source file x64\Debug\\moc\moc_processing_thread.cpp)
    1>C:\Qt\5.14.1\msvc2017_64\include\QtWidgets\qwidget.h(307,14): error C2059: syntax error: 'constant' (compiling source file x64\Debug\\moc\moc_processing_thread.cpp)
    1>C:\Qt\5.14.1\msvc2017_64\include\QtWidgets\qwidget.h(307,28): error C2238: unexpected token(s) preceding ';' (compiling source file x64\Debug\\moc\moc_processing_thread.cpp)
    1>C:\Qt\5.14.1\msvc2017_64\include\QtWidgets\qwidget.h(607,52): error C2143: syntax error: missing ')' before 'constant' (compiling source file x64\Debug\\moc\moc_processing_thread.cpp)
    1>C:\Qt\5.14.1\msvc2017_64\include\QtWidgets\qwidget.h(607,52): error C2143: syntax error: missing ';' before 'constant' (compiling source file x64\Debug\\moc\moc_processing_thread.cpp)
    1>C:\Qt\5.14.1\msvc2017_64\include\QtWidgets\qwidget.h(607,52): error C2059: syntax error: 'constant' (compiling source file x64\Debug\\moc\moc_processing_thread.cpp)
    1>C:\Qt\5.14.1\msvc2017_64\include\QtWidgets\qwidget.h(607,124): error C2059: syntax error: ')' (compiling source file x64\Debug\\moc\moc_processing_thread.cpp)
    1>C:\Qt\5.14.1\msvc2017_64\include\QtWidgets\qwidget.h(607,125): error C2238: unexpected token(s) preceding ';' (compiling source file x64\Debug\\moc\moc_processing_thread.cpp)
    1>C:\Qt\5.14.1\msvc2017_64\include\QtWidgets\qwidget.h(309,53): error C2064: term does not evaluate to a function taking 0 arguments (compiling source file x64\Debug\\moc\moc_processing_thread.cpp)
    1>C:\Qt\5.14.1\msvc2017_64\include\QtGui\qicon.h(83,29): error C2143: syntax error: missing ')' before 'constant' (compiling source file x64\Debug\\moc\moc_processing_thread.cpp)
    1>C:\Qt\5.14.1\msvc2017_64\include\QtGui\qicon.h(83,29): error C2143: syntax error: missing ';' before 'constant' (compiling source file x64\Debug\\moc\moc_processing_thread.cpp)
    1>C:\Qt\5.14.1\msvc2017_64\include\QtGui\qicon.h(83,29): error C2059: syntax error: 'constant' (compiling source file x64\Debug\\moc\moc_processing_thread.cpp)
    1>C:\Qt\5.14.1\msvc2017_64\include\QtGui\qicon.h(83,93): error C2059: syntax error: ')' (compiling source file x64\Debug\\moc\moc_processing_thread.cpp)
    1>C:\Qt\5.14.1\msvc2017_64\include\QtGui\qicon.h(83,100): error C2238: unexpected token(s) preceding ';' (compiling source file x64\Debug\\moc\moc_processing_thread.cpp)
    1>C:\Qt\5.14.1\msvc2017_64\include\QtGui\qicon.h(86,31): error C2143: syntax error: missing ')' before 'constant' (compiling source file x64\Debug\\moc\moc_processing_thread.cpp)
    1>C:\Qt\5.14.1\msvc2017_64\include\QtGui\qicon.h(86,31): error C2143: syntax error: missing ';' before 'constant' (compiling source file x64\Debug\\moc\moc_processing_thread.cpp)
    1>C:\Qt\5.14.1\msvc2017_64\include\QtGui\qicon.h(86,31): error C2059: syntax error: 'constant' (compiling source file x64\Debug\\moc\moc_processing_thread.cpp)
    1>C:\Qt\5.14.1\msvc2017_64\include\QtGui\qicon.h(86,95): error C2059: syntax error: ')' (compiling source file x64\Debug\\moc\moc_processing_thread.cpp)
    1>C:\Qt\5.14.1\msvc2017_64\include\QtGui\qicon.h(86,102): error C2238: unexpected token(s) preceding ';' (compiling source file x64\Debug\\moc\moc_processing_thread.cpp)
    
    JonBJ 1 Reply Last reply
    0
    • J Joe459

      Hi. I renamed a couple objects in my ui file using qt designer. I am now getting absurd syntax errors from my moc file for a class I created called "processing_thread" in in the qicon, qpalette, qwidget, and winuser header files. I renamed nothing in this file and it doesn't even have any of the renamed objects in it. Any idea what I could have missed here?? Something to do with qt macros or #include?? It was building just fine before the renaming.

      1>C:\Program Files (x86)\Windows Kits\10\Include\10.0.18362.0\um\winuser.h(15363,15): error C2143: syntax error: missing ')' before 'constant' (compiling source file x64\Debug\\moc\moc_processing_thread.cpp)
      1>C:\Program Files (x86)\Windows Kits\10\Include\10.0.18362.0\um\winuser.h(15363,15): error C2143: syntax error: missing ';' before 'constant' (compiling source file x64\Debug\\moc\moc_processing_thread.cpp)
      1>C:\Program Files (x86)\Windows Kits\10\Include\10.0.18362.0\um\winuser.h(15363,15): error C2059: syntax error: 'constant' (compiling source file x64\Debug\\moc\moc_processing_thread.cpp)
      1>C:\Program Files (x86)\Windows Kits\10\Include\10.0.18362.0\um\winuser.h(15364,26): error C2059: syntax error: ')' (compiling source file x64\Debug\\moc\moc_processing_thread.cpp)
      1>C:\Qt\5.14.1\msvc2017_64\include\QtGui\qpalette.h(61,50): error C2143: syntax error: missing ')' before 'constant' (compiling source file x64\Debug\\moc\moc_processing_thread.cpp)
      1>C:\Qt\5.14.1\msvc2017_64\include\QtGui\qpalette.h(61,50): error C2143: syntax error: missing ';' before 'constant' (compiling source file x64\Debug\\moc\moc_processing_thread.cpp)
      1>C:\Qt\5.14.1\msvc2017_64\include\QtGui\qpalette.h(61,57): error C2059: syntax error: 'constant' (compiling source file x64\Debug\\moc\moc_processing_thread.cpp)
      1>C:\Qt\5.14.1\msvc2017_64\include\QtGui\qpalette.h(61,57): error C2059: syntax error: ')' (compiling source file x64\Debug\\moc\moc_processing_thread.cpp)
      1>C:\Qt\5.14.1\msvc2017_64\include\QtGui\qpalette.h(61,57): error C2238: unexpected token(s) preceding ';' (compiling source file x64\Debug\\moc\moc_processing_thread.cpp)
      1>C:\Qt\5.14.1\msvc2017_64\include\QtGui\qpalette.h(64,75): error C2143: syntax error: missing ')' before 'constant' (compiling source file x64\Debug\\moc\moc_processing_thread.cpp)
      1>C:\Qt\5.14.1\msvc2017_64\include\QtGui\qpalette.h(64,75): error C2143: syntax error: missing ';' before 'constant' (compiling source file x64\Debug\\moc\moc_processing_thread.cpp)
      1>C:\Qt\5.14.1\msvc2017_64\include\QtGui\qpalette.h(62,82): error C2059: syntax error: 'constant' (compiling source file x64\Debug\\moc\moc_processing_thread.cpp)
      1>C:\Qt\5.14.1\msvc2017_64\include\QtGui\qpalette.h(62,82): error C2059: syntax error: ')' (compiling source file x64\Debug\\moc\moc_processing_thread.cpp)
      1>C:\Qt\5.14.1\msvc2017_64\include\QtGui\qpalette.h(62,82): error C2238: unexpected token(s) preceding ';' (compiling source file x64\Debug\\moc\moc_processing_thread.cpp)
      1>C:\Qt\5.14.1\msvc2017_64\include\QtGui\qpalette.h(65,54): error C2143: syntax error: missing ')' before 'constant' (compiling source file x64\Debug\\moc\moc_processing_thread.cpp)
      1>C:\Qt\5.14.1\msvc2017_64\include\QtGui\qpalette.h(65,54): error C2143: syntax error: missing ';' before 'constant' (compiling source file x64\Debug\\moc\moc_processing_thread.cpp)
      1>C:\Qt\5.14.1\msvc2017_64\include\QtGui\qpalette.h(65,92): error C2535: 'QPalette::QPalette(const QColor &,const QColor &)': member function already defined or declared (compiling source file x64\Debug\\moc\moc_processing_thread.cpp)
      1>C:\Qt\5.14.1\msvc2017_64\include\QtGui\qpalette.h(61): message : see declaration of 'QPalette::QPalette' (compiling source file x64\Debug\\moc\moc_processing_thread.cpp)
      1>C:\Qt\5.14.1\msvc2017_64\include\QtGui\qpalette.h(65,92): error C2059: syntax error: 'constant' (compiling source file x64\Debug\\moc\moc_processing_thread.cpp)
      1>C:\Qt\5.14.1\msvc2017_64\include\QtGui\qpalette.h(65,92): error C2059: syntax error: ')' (compiling source file x64\Debug\\moc\moc_processing_thread.cpp)
      1>C:\Qt\5.14.1\msvc2017_64\include\QtGui\qpalette.h(65,92): error C2238: unexpected token(s) preceding ';' (compiling source file x64\Debug\\moc\moc_processing_thread.cpp)
      1>C:\Qt\5.14.1\msvc2017_64\include\QtGui\qpalette.h(120,38): error C2143: syntax error: missing ')' before 'constant' (compiling source file x64\Debug\\moc\moc_processing_thread.cpp)
      1>C:\Qt\5.14.1\msvc2017_64\include\QtGui\qpalette.h(120,38): error C2143: syntax error: missing ';' before 'constant' (compiling source file x64\Debug\\moc\moc_processing_thread.cpp)
      1>C:\Qt\5.14.1\msvc2017_64\include\QtGui\qpalette.h(120,38): error C2059: syntax error: 'constant' (compiling source file x64\Debug\\moc\moc_processing_thread.cpp)
      1>C:\Qt\5.14.1\msvc2017_64\include\QtGui\qpalette.h(120,44): error C2059: syntax error: ')' (compiling source file x64\Debug\\moc\moc_processing_thread.cpp)
      1>C:\Qt\5.14.1\msvc2017_64\include\QtGui\qpalette.h(120,45): error C2238: unexpected token(s) preceding ';' (compiling source file x64\Debug\\moc\moc_processing_thread.cpp)
      1>C:\Qt\5.14.1\msvc2017_64\include\QtGui\qpalette.h(135,26): error C2059: syntax error: 'constant' (compiling source file x64\Debug\\moc\moc_processing_thread.cpp)
      1>C:\Qt\5.14.1\msvc2017_64\include\QtGui\qpalette.h(135,41): error C2334: unexpected token(s) preceding '{'; skipping apparent function body (compiling source file x64\Debug\\moc\moc_processing_thread.cpp)
      1>C:\Qt\5.14.1\msvc2017_64\include\QtGui\qpalette.h(170,38): error C2143: syntax error: missing ')' before 'constant' (compiling source file x64\Debug\\moc\moc_processing_thread.cpp)
      1>C:\Qt\5.14.1\msvc2017_64\include\QtGui\qpalette.h(170,38): error C2143: syntax error: missing ';' before 'constant' (compiling source file x64\Debug\\moc\moc_processing_thread.cpp)
      1>C:\Qt\5.14.1\msvc2017_64\include\QtGui\qpalette.h(170,38): error C2059: syntax error: 'constant' (compiling source file x64\Debug\\moc\moc_processing_thread.cpp)
      1>C:\Qt\5.14.1\msvc2017_64\include\QtGui\qpalette.h(173,70): error C2059: syntax error: ')' (compiling source file x64\Debug\\moc\moc_processing_thread.cpp)
      1>C:\Qt\5.14.1\msvc2017_64\include\QtGui\qpalette.h(173,71): error C2238: unexpected token(s) preceding ';' (compiling source file x64\Debug\\moc\moc_processing_thread.cpp)
      1>C:\Qt\5.14.1\msvc2017_64\include\QtGui\qpalette.h(178,38): error C2143: syntax error: missing ')' before 'constant' (compiling source file x64\Debug\\moc\moc_processing_thread.cpp)
      1>C:\Qt\5.14.1\msvc2017_64\include\QtGui\qpalette.h(178,38): error C2143: syntax error: missing ';' before 'constant' (compiling source file x64\Debug\\moc\moc_processing_thread.cpp)
      1>C:\Qt\5.14.1\msvc2017_64\include\QtGui\qpalette.h(178,38): error C2535: 'void QPalette::setColorGroup(QPalette::ColorGroup,const QBrush &,const QBrush &,const QBrush &,const QBrush &,const QBrush &,const QBrush &,const QBrush &,const QBrush &,const QBrush &,const QBrush &)': member function already defined or declared (compiling source file x64\Debug\\moc\moc_processing_thread.cpp)
      1>C:\Qt\5.14.1\msvc2017_64\include\QtGui\qpalette.h(166): message : see declaration of 'QPalette::setColorGroup' (compiling source file x64\Debug\\moc\moc_processing_thread.cpp)
      1>C:\Qt\5.14.1\msvc2017_64\include\QtGui\qpalette.h(178,38): error C2059: syntax error: 'constant' (compiling source file x64\Debug\\moc\moc_processing_thread.cpp)
      1>C:\Qt\5.14.1\msvc2017_64\include\QtGui\qpalette.h(182,76): error C2059: syntax error: ')' (compiling source file x64\Debug\\moc\moc_processing_thread.cpp)
      1>C:\Qt\5.14.1\msvc2017_64\include\QtGui\qpalette.h(182,77): error C2238: unexpected token(s) preceding ';' (compiling source file x64\Debug\\moc\moc_processing_thread.cpp)
      1>C:\Qt\5.14.1\msvc2017_64\include\QtGui\qpalette.h(149,54): error C2064: term does not evaluate to a function taking 0 arguments (compiling source file x64\Debug\\moc\moc_processing_thread.cpp)
      1>C:\Qt\5.14.1\msvc2017_64\include\QtWidgets\qwidget.h(307,14): error C2059: syntax error: 'constant' (compiling source file x64\Debug\\moc\moc_processing_thread.cpp)
      1>C:\Qt\5.14.1\msvc2017_64\include\QtWidgets\qwidget.h(307,28): error C2238: unexpected token(s) preceding ';' (compiling source file x64\Debug\\moc\moc_processing_thread.cpp)
      1>C:\Qt\5.14.1\msvc2017_64\include\QtWidgets\qwidget.h(607,52): error C2143: syntax error: missing ')' before 'constant' (compiling source file x64\Debug\\moc\moc_processing_thread.cpp)
      1>C:\Qt\5.14.1\msvc2017_64\include\QtWidgets\qwidget.h(607,52): error C2143: syntax error: missing ';' before 'constant' (compiling source file x64\Debug\\moc\moc_processing_thread.cpp)
      1>C:\Qt\5.14.1\msvc2017_64\include\QtWidgets\qwidget.h(607,52): error C2059: syntax error: 'constant' (compiling source file x64\Debug\\moc\moc_processing_thread.cpp)
      1>C:\Qt\5.14.1\msvc2017_64\include\QtWidgets\qwidget.h(607,124): error C2059: syntax error: ')' (compiling source file x64\Debug\\moc\moc_processing_thread.cpp)
      1>C:\Qt\5.14.1\msvc2017_64\include\QtWidgets\qwidget.h(607,125): error C2238: unexpected token(s) preceding ';' (compiling source file x64\Debug\\moc\moc_processing_thread.cpp)
      1>C:\Qt\5.14.1\msvc2017_64\include\QtWidgets\qwidget.h(309,53): error C2064: term does not evaluate to a function taking 0 arguments (compiling source file x64\Debug\\moc\moc_processing_thread.cpp)
      1>C:\Qt\5.14.1\msvc2017_64\include\QtGui\qicon.h(83,29): error C2143: syntax error: missing ')' before 'constant' (compiling source file x64\Debug\\moc\moc_processing_thread.cpp)
      1>C:\Qt\5.14.1\msvc2017_64\include\QtGui\qicon.h(83,29): error C2143: syntax error: missing ';' before 'constant' (compiling source file x64\Debug\\moc\moc_processing_thread.cpp)
      1>C:\Qt\5.14.1\msvc2017_64\include\QtGui\qicon.h(83,29): error C2059: syntax error: 'constant' (compiling source file x64\Debug\\moc\moc_processing_thread.cpp)
      1>C:\Qt\5.14.1\msvc2017_64\include\QtGui\qicon.h(83,93): error C2059: syntax error: ')' (compiling source file x64\Debug\\moc\moc_processing_thread.cpp)
      1>C:\Qt\5.14.1\msvc2017_64\include\QtGui\qicon.h(83,100): error C2238: unexpected token(s) preceding ';' (compiling source file x64\Debug\\moc\moc_processing_thread.cpp)
      1>C:\Qt\5.14.1\msvc2017_64\include\QtGui\qicon.h(86,31): error C2143: syntax error: missing ')' before 'constant' (compiling source file x64\Debug\\moc\moc_processing_thread.cpp)
      1>C:\Qt\5.14.1\msvc2017_64\include\QtGui\qicon.h(86,31): error C2143: syntax error: missing ';' before 'constant' (compiling source file x64\Debug\\moc\moc_processing_thread.cpp)
      1>C:\Qt\5.14.1\msvc2017_64\include\QtGui\qicon.h(86,31): error C2059: syntax error: 'constant' (compiling source file x64\Debug\\moc\moc_processing_thread.cpp)
      1>C:\Qt\5.14.1\msvc2017_64\include\QtGui\qicon.h(86,95): error C2059: syntax error: ')' (compiling source file x64\Debug\\moc\moc_processing_thread.cpp)
      1>C:\Qt\5.14.1\msvc2017_64\include\QtGui\qicon.h(86,102): error C2238: unexpected token(s) preceding ';' (compiling source file x64\Debug\\moc\moc_processing_thread.cpp)
      
      JonBJ Offline
      JonBJ Offline
      JonB
      wrote on last edited by
      #2

      @Joe459
      Re-run qmake, or clear out debug/release directory completely.

      1 Reply Last reply
      5

      • Login

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