[QBS] promoted class in ui file

Christian Kandeler christian.kandeler at digia.com
Tue Nov 12 17:05:33 CET 2013

On 11/12/2013 04:55 PM, Philip A Reimer wrote:
> I wanted to convert my project to use qbs and see if compile times
> would improve. But Many of my ui files contain promoted classes. Here
> is a link to a dropbox folder
> https://www.dropbox.com/sh/aseou0dar47iyz3/KXhkdFTd_1. Building this
> fails with the message below. Manually copying the qbswidget.h to
> qt-5-1-1-debug/GeneratedFiles/testqbs works but I don't want to do
> this every time.

The ui header file needs to know where to find your header. Add its 
directory to the list of include paths; e.g. "cpp.includePaths: '.'".


More information about the Qbs mailing list