Qt Extended Home · Build System Home · Reference · User Guide · Internals codeless banner

Libraries

Library projects must contain some extra code to make them usable by other projects. Here is a sample library qbuild.pro file.

    TEMPLATE=lib
    MODULE_NAME=mylib
    TARGET=mylib

    FORMS=foobase.ui
    HEADERS=foo.h
    PRIVATE_HEADERS=foo_p.h
    SOURCES=foo.cpp

This project is a library project called mylib.

See also Overviews, TEMPLATE, MODULE_NAME, TARGET, and PREFIX.


Copyright © 2009 Nokia
Qt Extended - Build System Documentation