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?
↧