Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-124584

plugin won't expose target_include_directories

    XMLWordPrintable

Details

    • Bug
    • Resolution: Invalid
    • Not Evaluated
    • None
    • 6.5.5
    • Build System: CMake
    • None

    Description

      please the attached example, it will gives a error

      C:/Users/qt/Documents/MyExample/main.cpp:3:10: fatal error: mystylecontroller.h: No such file or directory
      

      also linking backing lib can avoid this error:

      target_link_libraries(appMyExample
          PRIVATE Qt6::Quick MyStyleplugin MyStyle
      )
      

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            qtbuildsystem Qt Build System Team
            jiu shanheng jiu
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes