Alex Rivera | Logout

How to get qmake to generate "project dependencies" in a Visual Studio .sln project

Asked 2010-02-24T15:21:15.263
11

I have a qmake build of a few libraries and an app which depends on them. Using the subdirs template I'm able to get qmake to output a .sln file which works almost to my liking in VC2008. Though I've specified the dependencies between the targets in every way I've seen described, I end up with no "project dependencies" in the .sln file, and I have to add these in manually.

So far I've tried

CONFIG += ordered

with correct ordering to no avail.

And similarly the more arcane syntax:

client.depends = core common

Which also doesn't work. No dependencies whatsoever show up when I load the sln.

Edit
Report

1 Answer

2

From an old mailing list entry: http://lists.trolltech.com/qt-interest/2006-07/thread00238-0.html

It appears that it tries to figure out which things are dependent for you. Are you able to build from the sln without entering the project dependencies manually?

answered 2010-02-24T15:45:44.653

Your Answer