Uploaded image for project: 'Qt Creator'
  1. Qt Creator
  2. QTCREATORBUG-15872

Qt Creator tries to compile .qdoc files into .o files

    XMLWordPrintable

Details

    Description

      1. Create a file on your system with the .qdoc extension.
      2. In a Qt project, "Add Existing File" to the project.
      3. The .qdoc file will be added to the "SOURCES" variable in .pro file (this is necessary for the file to show up in the project explorer).
      4. When you build the project, it throws an error: ":-1: error: no such file or directory: '<qdoc_file_name>.o'"

      Essentially, Qt Creator attempts to compile .qdoc files that are in the SOURCES qmake variable into object files, and this throws off the linker. Qt creator should allow you to add .qdoc files to the SOURCES variable but not try to compile them into object files.

      Attachments

        Activity

          People

            hunger Tobias Hunger
            bgr360 Ben Reeves
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: