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. Qt compiler error by converting to qt 5

Qt compiler error by converting to qt 5

Scheduled Pinned Locked Moved General and Desktop
1 Posts 1 Posters 756 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
    samsam
    wrote on 22 Apr 2014, 11:53 last edited by
    #1

    i'm translating a project from qt4 to qt5, and already updated most of the differences.
    when i'm compiling, i get the following two errors from the compiler inside the sal.h include file, in line number 2367.

    the line is:

    extern "C" {...

    the errors are:
    c2144: syntax error : int should be preceded by ';'
    c4430: missing type specifier - int assumed. Note: C++ does not support default int

    i didn't find this error in all of the forums that talks about translating from qt4 to qt 5.1.1.
    on qt4 it worked well.

    does someone know whats wrong?

    1 Reply Last reply
    0

    1/1

    22 Apr 2014, 11:53

    • Login

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