Skip to main content

qworktree generator of main Qt .pro file for a full worktree

Project description


qworktree is a simple tool to permit to manage a qt worktree without managing the main

It is designed to create the main pro file at the root path of the tree (where you execute it it.

It have some containts that I does not arrive to remove:

  • need to declate the MK_FEATURE element
  • generate 2 file in the root directory



This tool is to create the main .pro file of your worktree

qworktree is under a FREE license that can be found in the LICENSE file. Any contribution is more than welcome ;)

git repository


Requirements: Python >= 2.7 and pip

Just run:

pip install qworktree

Install pip on debian/ubuntu:

sudo apt-get install pip

Install pip on ARCH-linux:

sudo pacman -S pip

Install pip on MacOs:

sudo easy_install pip


Download your worktree and run the command

export QMAKEFEATURES=`pwd`/mkfeatures
mkdir build
cd build
qmake ..

the qworktree will generate local files ==> the file of the worktree description
defines.prf ==> a file that define a list of dependency macro

Creating the needed elements

1: Need a mkfeature to add an include to determine the main root worktree: mkfeatures/root_directory.prf

ROOT_DEFINES += $${PWD}/../defines.prf

2: Create a file in your library/plugin/application folder: folderName/

# -*- coding: utf-8 -*-
depend_on = [

3: Create a file in your worktree with the dependency property: folderName/dependencies.pri

LIBS *= -llibraryName

4: Import the library elements:

  # request include properties

Note that the define is generate in the file defines.prf

License (MPL v2.0)

Copyright qworktree Edouard DUPIN

Licensed under the Mozilla Public License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for qworktree, version 0.6.1
Filename, size File type Python version Upload date Hashes
Filename, size qworktree-0.6.1.tar.gz (12.9 kB) File type Source Python version None Upload date Hashes View

Supported by

Pingdom Pingdom Monitoring Google Google Object Storage and Download Analytics Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page