I have the following library:

lib model
:   [ glob *.cpp *.cc *.h ]
:   <cxxflags>-fPIC
    <library>/qt5//QtCore/<link>shared
    <library>/qt5//QtWidgets/<link>shared
    <library>/qt5//QtGui/<link>shared
:
:
    <cxxflags>-fPIC
;

Using this library in my app pulls in the required qt libraries and links fine

If I replace the qt requirements with an alias, and reference that alias in my library, my app fails to link with "undefined reference"

alias qt
:   
:   <cxxflags>-fPIC
    <library>/qt5//QtCore/<link>shared
    <library>/qt5//QtWidgets/<link>shared
    <library>/qt5//QtGui/<link>shared
:
:
    <cxxflags>-fPIC
;

lib model
:   [ glob *.cpp *.cc *.h ]
    qt
;

What am I doing wrong?

TIA
Steve