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 Update on Monday, May 27th 2025

OpenCL editing in Qt Creator

Scheduled Pinned Locked Moved Unsolved Qt Creator and other tools
1 Posts 1 Posters 639 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.
  • M Offline
    M Offline
    Michal Hradecky
    wrote on 20 Oct 2016, 12:53 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

    1/1

    20 Oct 2016, 12: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