Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Qt Creator and other tools
  4. Precompiled headers with webassembly

Precompiled headers with webassembly

Scheduled Pinned Locked Moved Unsolved Qt Creator and other tools
1 Posts 1 Posters 216 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.
  • T Offline
    T Offline
    Trigve
    wrote on last edited by Trigve
    #1

    Hi,
    when trying to build the webassembly project with qmake with precompiled headers on windows, there is an error like:

    shared:ERROR: debug_qt\clientQt.js.pch\c++.pch: Input file has an unknown suffix, don't know what to do with it!
    

    As I found out, the problems is probably with -Xclang -include-pch -Xclang debug_qt\clientQt.js.pch\c++.pch used in em++ command:

    em++ -c -Xclang -include-pch -Xclang debug_qt\clientQt.js.pch\c++.pch  ...
    

    If I replace the -X flags with -include-pch debug_qt\clientQt.js.pch\c++.pch then everything looks ok. Could it be that the qmake generate wrong flags for em++?

    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