Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Qt Creator and other tools
  4. How to add .qmlproject into subdirs .pro project?

How to add .qmlproject into subdirs .pro project?

Scheduled Pinned Locked Moved Qt Creator and other tools
2 Posts 2 Posters 1.4k Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • T Offline
    T Offline
    Tramvon
    wrote on last edited by
    #1

    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?

    1 Reply Last reply
    0
    • A Offline
      A Offline
      andrep
      wrote on last edited by
      #2

      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.

      1 Reply Last reply
      0

      • Login

      • Login or register to search.
      • First post
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • Users
      • Groups
      • Search
      • Get Qt Extensions
      • Unsolved