Results 1 to 2 of 2

Thread: Syntax Highlighting for CUDA Code

  1. #1
    Join Date
    Apr 2010
    Posts
    1
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows Symbian S60

    Default Syntax Highlighting for CUDA Code

    Hi,

    I am developing a CUDA application and use the QtCreator IDE.
    CUDA kernels and functions are usually written to .cu files for which QtCreator does not seem to know how to highlight the syntax. Is there a way to simply tell QtCreator that it should use C++ syntax highlighting?

    Thanks in advance for your help.

  2. #2
    Join Date
    Jan 2006
    Location
    Warsaw, Poland
    Posts
    33,359
    Thanks
    3
    Thanked 5,015 Times in 4,792 Posts
    Qt products
    Qt3 Qt4 Qt5 Qt/Embedded
    Platforms
    Unix/X11 Windows Android Maemo/MeeGo
    Wiki edits
    10

    Default Re: Syntax Highlighting for CUDA Code

    No, you'd have to rebuild Qt Creator.

Similar Threads

  1. NVIDIA CUDA + Qt
    By redscorp in forum Qt Programming
    Replies: 3
    Last Post: 24th October 2010, 17:35
  2. cuda gdb
    By Wu in forum Newbie
    Replies: 2
    Last Post: 8th January 2010, 11:07
  3. QTableWidget || QListWIdget with syntax highlighting
    By ericV in forum Qt Programming
    Replies: 7
    Last Post: 21st August 2009, 13:26
  4. Refreshing syntax highlighting
    By jpn in forum Qt Programming
    Replies: 3
    Last Post: 26th July 2006, 20:09
  5. A Qt4 editor part with syntax highlighting and stuff?
    By mgoettsche in forum General Discussion
    Replies: 3
    Last Post: 22nd January 2006, 16:32

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Digia, Qt and their respective logos are trademarks of Digia Plc in Finland and/or other countries worldwide.