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 change "target.path" for qmake subdirs template project?
Forum Update on Monday, May 27th 2025

How to change "target.path" for qmake subdirs template project?

Scheduled Pinned Locked Moved Unsolved Qt Creator and other tools
2 Posts 1 Posters 797 Views
  • 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.
  • S Offline
    S Offline
    sildeag
    wrote on last edited by
    #1

    PyQt5.pro contains:
    `TEMPLATE = subdirs
    CONFIG += ordered nostrip

    SUBDIRS = QtCore QtGui QtMultimedia QtMultimediaWidgets QtNetwork QtOpenGL QtPrintSupport QtQml QtQuick QtSql QtSvg QtTest QtWidgets QtXml QtXmlPatterns QtDBus _QOpenGLFunctions_2_0 _QOpenGLFunctions_2_1 _QOpenGLFunctions_4_1_Core QtSensors QtSerialPort QtX11Extras QtBluetooth QtPositioning QtQuickWidgets QtWebSockets Enginio QtWebChannel QtLocation QtNfc pylupdate pyrcc Qt qmlscene`

    Is there an easy way to change the target.path so that it propagates to all the subdirectories eg. change in top-level target.path in PyQt5.pro file changes the target.path in QtCore.pro in subfolder QtCore, etc.?

    Thanking you in advance for any help.

    S 1 Reply Last reply
    0
    • S sildeag

      PyQt5.pro contains:
      `TEMPLATE = subdirs
      CONFIG += ordered nostrip

      SUBDIRS = QtCore QtGui QtMultimedia QtMultimediaWidgets QtNetwork QtOpenGL QtPrintSupport QtQml QtQuick QtSql QtSvg QtTest QtWidgets QtXml QtXmlPatterns QtDBus _QOpenGLFunctions_2_0 _QOpenGLFunctions_2_1 _QOpenGLFunctions_4_1_Core QtSensors QtSerialPort QtX11Extras QtBluetooth QtPositioning QtQuickWidgets QtWebSockets Enginio QtWebChannel QtLocation QtNfc pylupdate pyrcc Qt qmlscene`

      Is there an easy way to change the target.path so that it propagates to all the subdirectories eg. change in top-level target.path in PyQt5.pro file changes the target.path in QtCore.pro in subfolder QtCore, etc.?

      Thanking you in advance for any help.

      S Offline
      S Offline
      sildeag
      wrote on last edited by
      #2

      @sildeag - while I would still like to know if there is a solution, I noticed that python3 configure.py --destdir <DIR> provided an alternative way to change the target.path in all subdirs and if this wasn't specific enough, a configuration file with pyqt_module_dir would.

      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