How to add .qmlproject into subdirs .pro project?



  • Hello!

    I have folders:
    @
    dev_root
    all.pro
    app
    app.pro
    ext
    ext.pro
    ui
    ui.qmlproject
    @

    I have .pro file:
    @
    TEMPLATE = subdirs

    SUBDIRS +=
    app
    ext
    ui

    ext.subdir = ext
    app.depends = ext
    ui.depends = ext@

    But qmake reports an error:
    @
    Could not find .pro file for sub dir 'ui'
    @

    How can I add .qmlproject into subdirs .pro project?



  • You can't. qmake doesn't know about .qmlproject file. You could try to work out a solution based on a TEMPLATE = aux based .pro file.


Log in to reply
 

Looks like your connection to Qt Forum was lost, please wait while we try to reconnect.