Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. Add uic-created header files to installation target
Forum Updated to NodeBB v4.3 + New Features

Add uic-created header files to installation target

Scheduled Pinned Locked Moved General and Desktop
1 Posts 1 Posters 934 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.
  • S Offline
    S Offline
    soroush
    wrote on last edited by
    #1

    Hi

    I have a widget library containing ui file. Pro file looks like this:

    @
    TEMPLATE = lib

    SOURCES += ...

    HEADERS += ...

    FORMS += ...

    TARGET = foo
    headers.files = $$HEADERS

    unix {
    target.path = /usr/lib
    headers.path = /usr/include/foo/
    }

    INSTALLS += target headers
    @

    When I'm installing library on system, ui_*.h files are not present in /usr/include/foo/ and this cause compilation error. How do I either remove need to those files or include them in installation target?

    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