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. OpenCL editing in Qt Creator
Forum Updated to NodeBB v4.3 + New Features

OpenCL editing in Qt Creator

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

    Hello,
    I'm using Qt Creator to write a C++ Makefile project which includes editing OpenCL files with with .kernel extension. But Qt Creator doesn't recognize it as OpenCL code and underlines OpenCL syntax.

    I've tried to download additional General Highlighter files for OpenCL but with no success, because the opencl.xml in ~/.config/QtProject/qtcreator/generic-highlighter said it's only for *.cl extensions. So I've manually added the *.kernel extension to the xml but it didn't help. Qt creator also don't know about mimetype="text/x-clsrc" and I there is no button to add a new MIME type in Options->Environment->MIME types.

    So the question is, how can I force Qt Creator to support OpenCL syntax.
    Many thanks.

    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