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. QDoc's "\snippet" command
Qt 6.11 is out! See what's new in the release blog

QDoc's "\snippet" command

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

    When I use the "\ snippet" command to reference a snippet, I get an error that the .cpp file cannot be found.
    Commands: "\ snippet E: \ LookupExample.cpp 1" and "\ snippet E: /LookupExample.cpp 0"
    Error: "Cannot find file to quote from: 'E: \ LookupExample.cpp'" and "Cannot find file to quote from: 'E: /LookupExample.cpp'"

    jsulmJ 1 Reply Last reply
    0
    • CorniceC Cornice

      When I use the "\ snippet" command to reference a snippet, I get an error that the .cpp file cannot be found.
      Commands: "\ snippet E: \ LookupExample.cpp 1" and "\ snippet E: /LookupExample.cpp 0"
      Error: "Cannot find file to quote from: 'E: \ LookupExample.cpp'" and "Cannot find file to quote from: 'E: /LookupExample.cpp'"

      jsulmJ Offline
      jsulmJ Offline
      jsulm
      Lifetime Qt Champion
      wrote on last edited by
      #2

      @Cornice Why do you use an absolute path to the source code file?

      https://forum.qt.io/topic/113070/qt-code-of-conduct

      1 Reply Last reply
      1

      • Login

      • Login or register to search.
      • First post
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • Users
      • Groups
      • Search
      • Get Qt Extensions
      • Unsolved