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. Porting Qt 6.2 to OS/2 operating system
Forum Updated to NodeBB v4.3 + New Features

Porting Qt 6.2 to OS/2 operating system

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

    Hi All,

    I'm attempting to update the OS/2 port of Qt 5.15 (https://github.com/bitwiseworks/qtbase-os2) to Qt 6.2.4 (https://github.com/psmedley/qt6-os2)

    Things are going pretty well and I have a number of DLLs built, howeever I'm now stuck on building the OS/2 plugin.

    I'm getting the following:

    AutoMoc subprocess error
    ------------------------
    The moc process failed to compile
      "SRC:/src/plugins/platforms/os2/main.cpp"
    into
      "SRC:/build/src/plugins/platforms/os2/QOS2IntegrationPlugin_autogen/include/main.moc"
    included by
      "SRC:/src/plugins/platforms/os2/main.cpp"
    
    Command
    -------
    U:/DEV/qtbase-everywhere-src-6.2.4/build/bin/moc.exe -DQOS2IntegrationPlugin_EXPORTS -DQT_DEPRECATED_WARNINGS -DQT_DEPRECATED_WARNINGS_SINCE=0x060000 -DQT_DISABLE_DEPRECATED_BEFORE=0x050000 -DQT_NO_DEBUG -DQT_NO_EXCEPTIONS -DQT_NO_JAVA_STYLE_ITERATORS -DQT_NO_NARROWING_CONVERSIONS_IN_CONNECT -DQT_PLUGIN -IU:/DEV/qtbase-everywhere-src-6.2.4/src/plugins/platforms/os2 -IU:/DEV/qtbase-everywhere-src-6.2.4/build/src/plugins/platforms/os2 -IU:/DEV/qtbase-everywhere-src-6.2.4/build/include -IU:/DEV/qtbase-everywhere-src-6.2.4/mkspecs/os2-g++ -Iu:/extras/include -Iu:/openldap/include -Iu:/usr/include -IU:/OS2TK45/H -IU:/usr/local1220/include/c++/12.2.0 -IU:/usr/local1220/include/c++/12.2.0/i686-pc-os2-emx -IU:/usr/local1220/include/c++/12.2.0/backward -IU:/usr/local1220/lib/gcc/i686-pc-os2-emx/12.2.0/include -IU:/usr/local1220/lib/gcc/i686-pc-os2-emx/12.2.0/include-fixed -I/usr/local/include -IU:/usr/local1220/include --include U:/DEV/qtbase-everywhere-src-6.2.4/build/src/plugins/platforms/os2/QOS2IntegrationPlugin_autogen/moc_predefs.h -o U:/DEV/qtbase-everywhere-src-6.2.4/build/src/plugins/platforms/os2/QOS2IntegrationPlugin_autogen/include/main.moc U:/DEV/qtbase-everywhere-src-6.2.4/src/plugins/platforms/os2/main.cpp
    
    Output
    ------
    U:/DEV/qtbase-everywhere-src-6.2.4/src/plugins/platforms/os2/main.cpp:49:1: error: Parse error at "IID"
    

    Any clues on how to resolve the parse error?

    Cheers,

    Paul

    jsulmJ 1 Reply Last reply
    0
    • P psmedley

      Hi All,

      I'm attempting to update the OS/2 port of Qt 5.15 (https://github.com/bitwiseworks/qtbase-os2) to Qt 6.2.4 (https://github.com/psmedley/qt6-os2)

      Things are going pretty well and I have a number of DLLs built, howeever I'm now stuck on building the OS/2 plugin.

      I'm getting the following:

      AutoMoc subprocess error
      ------------------------
      The moc process failed to compile
        "SRC:/src/plugins/platforms/os2/main.cpp"
      into
        "SRC:/build/src/plugins/platforms/os2/QOS2IntegrationPlugin_autogen/include/main.moc"
      included by
        "SRC:/src/plugins/platforms/os2/main.cpp"
      
      Command
      -------
      U:/DEV/qtbase-everywhere-src-6.2.4/build/bin/moc.exe -DQOS2IntegrationPlugin_EXPORTS -DQT_DEPRECATED_WARNINGS -DQT_DEPRECATED_WARNINGS_SINCE=0x060000 -DQT_DISABLE_DEPRECATED_BEFORE=0x050000 -DQT_NO_DEBUG -DQT_NO_EXCEPTIONS -DQT_NO_JAVA_STYLE_ITERATORS -DQT_NO_NARROWING_CONVERSIONS_IN_CONNECT -DQT_PLUGIN -IU:/DEV/qtbase-everywhere-src-6.2.4/src/plugins/platforms/os2 -IU:/DEV/qtbase-everywhere-src-6.2.4/build/src/plugins/platforms/os2 -IU:/DEV/qtbase-everywhere-src-6.2.4/build/include -IU:/DEV/qtbase-everywhere-src-6.2.4/mkspecs/os2-g++ -Iu:/extras/include -Iu:/openldap/include -Iu:/usr/include -IU:/OS2TK45/H -IU:/usr/local1220/include/c++/12.2.0 -IU:/usr/local1220/include/c++/12.2.0/i686-pc-os2-emx -IU:/usr/local1220/include/c++/12.2.0/backward -IU:/usr/local1220/lib/gcc/i686-pc-os2-emx/12.2.0/include -IU:/usr/local1220/lib/gcc/i686-pc-os2-emx/12.2.0/include-fixed -I/usr/local/include -IU:/usr/local1220/include --include U:/DEV/qtbase-everywhere-src-6.2.4/build/src/plugins/platforms/os2/QOS2IntegrationPlugin_autogen/moc_predefs.h -o U:/DEV/qtbase-everywhere-src-6.2.4/build/src/plugins/platforms/os2/QOS2IntegrationPlugin_autogen/include/main.moc U:/DEV/qtbase-everywhere-src-6.2.4/src/plugins/platforms/os2/main.cpp
      
      Output
      ------
      U:/DEV/qtbase-everywhere-src-6.2.4/src/plugins/platforms/os2/main.cpp:49:1: error: Parse error at "IID"
      

      Any clues on how to resolve the parse error?

      Cheers,

      Paul

      jsulmJ Offline
      jsulmJ Offline
      jsulm
      Lifetime Qt Champion
      wrote on last edited by
      #2

      @psmedley said in Porting Qt 6.2 to OS/2 operating system:

      U:/DEV/qtbase-everywhere-src-6.2.4/src/plugins/platforms/os2/main.cpp:49:1: error: Parse error at "IID"

      What exactly is in this line?
      You should also consider asking this on Qt developers mailing list.

      https://forum.qt.io/topic/113070/qt-code-of-conduct

      P 1 Reply Last reply
      0
      • jsulmJ jsulm

        @psmedley said in Porting Qt 6.2 to OS/2 operating system:

        U:/DEV/qtbase-everywhere-src-6.2.4/src/plugins/platforms/os2/main.cpp:49:1: error: Parse error at "IID"

        What exactly is in this line?
        You should also consider asking this on Qt developers mailing list.

        P Offline
        P Offline
        psmedley
        wrote on last edited by
        #3

        @jsulm Line 49 of https://github.com/psmedley/qt6-os2/blob/main/src/plugins/platforms/os2/main.cpp is:

            Q_PLUGIN_METADATA(IID QPlatformIntegrationFactoryInterface_iid FILE "os2.json")
        

        The windows equivalent looks very similar to my eyes.

        Cheers,

        Paul

        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