Quantcast
Channel: Jobs
Viewing all articles
Browse latest Browse all 18427

Add uic-created header files to installation target

$
0
0
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?

Viewing all articles
Browse latest Browse all 18427

Trending Articles