Skip to content

Generates QMake .pri files from Visual Studio 2010

Notifications You must be signed in to change notification settings

jozefdobos/prigen

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 

Repository files navigation

prigen

A small script for generating a Qt QMake .pri project include file from a Visual Studio 2010 project.

prigen is useful for cross platform C++ projects written primarily in Visual Studio with the Qt framework, where Qt creator is also used as a secondary IDE for development of the project on unix-like operating systems. The Qt assistant for Visual Studio provides a feature for generation of pri include files for a selected project, but the process cannot be automated as part of the build. This means that every time source files are added or removed from a project, the .pri files must be manually regenerated. Prigen can be executed in a post-build script to automatically generate the .pri files.

Requirements: Python 2.7

Usage: python prigen.py <input vcxproj.filters filename> <output pri filename>

Tested with Visual Studio 2010 and Qt 4.7.4.

See http://stackoverflow.com/questions/15921380/how-to-generate-qt-pri-files-from-visual-studio-project-at-the-end-of-the-build for the question that originally prompted the development of this script.

About

Generates QMake .pri files from Visual Studio 2010

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%