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. [Moved] qtcreator and cuda .cu files
Forum Updated to NodeBB v4.3 + New Features

[Moved] qtcreator and cuda .cu files

Scheduled Pinned Locked Moved Qt Creator and other tools
3 Posts 3 Posters 6.4k 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.
  • R Offline
    R Offline
    rodeo
    wrote on 11 Jan 2011, 00:01 last edited by
    #1

    Hi, hope I'm posting to the right forum :)

    I'd like to set up qtcreator projects to compile cu files with NVCC. In general everything works defining a "custom tool" in the pro file, except that I have to omit the cuda files from SOURCES, or gcc tries to compile them as well. That means that they disappear from the "sources" bin, and that I lose all the nice code following features etc. in qtcreator.

    I want to have separate sources for NVCC that are still treated as part of the project. Is there any workaround for this? I hope so!

    Thanks

    Michael

    1 Reply Last reply
    0
    • J Offline
      J Offline
      jdbastardy
      wrote on 14 Jan 2011, 09:23 last edited by
      #2

      http://doc.trolltech.com/4.7/qmake-environment-reference.html#customizing

      http://www.qtcentre.org/wiki/index.php?title=Undocumented_qmake

      Have a check here. You should modify your .pro using these instructions.

      http://mattias-cibien.co.cc

      • Prepare for Qt consequences.
      1 Reply Last reply
      0
      • S Offline
        S Offline
        sheetekela81
        wrote on 26 Feb 2014, 15:46 last edited by
        #3

        this link is damaged i guess

        http://doc.trolltech.com/4.7/qmake-environment-reference.html#customizing

        Sincerely yours
        Dr. Sheetekela

        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