On 11/12/2013 09:55 AM, Philip A Reimer wrote: > hi, > > 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. > > -ant32 > > $ qbs > No build graph exists yet for this configuration. > Resolving project for configuration qt-5-1-1-debug > Setting up build graph for configuration qt-5-1-1-debug > Building for configuration qt-5-1-1-debug > Applying moc rules for 'testqbs'. > moc testqbs.h > moc qbswidget.h > compiling main.cpp > compiling qbswidget.cpp > compiling moc_testqbs.cpp > uic testqbs.ui > compiling moc_qbswidget.cpp > compiling testqbs.cpp > ERROR: /usr/bin/g++ -m64 -g -Wall -Wextra -pipe -fvisibility=default > -x c++ -fPIC -DQT_CORE_LIB -DQT_GUI_LIB -DQT_WIDGETS_LIB > -I/usr/lib/qt/mkspecs/linux-g++ -I/usr/include/qt/QtCore > -I/usr/include/qt > -I/build/testqbs/qt-5-1-1-debug/GeneratedFiles/testqbs > -I/usr/include/qt/QtGui/5.1.1/QtGui -I/usr/include/qt > -I/usr/include/qt/QtGui -I/usr/include/qt/QtWidgets/5.1.1/QtWidgets > -I/usr/include/qt -I/usr/include/qt/QtWidgets -c > /build/testqbs/testqbs.cpp -o > /build/testqbs/qt-5-1-1-debug/.obj/testqbs/testqbs.cpp.o > In file included from /build/testqbs/testqbs.cpp:2:0: > /build/testqbs/qt-5-1-1-debug/GeneratedFiles/testqbs/ui_testqbs.h:18:23: > fatal error: qbswidget.h: No such file or directory > #include "qbswidget.h" > ^ > compilation terminated. > ERROR: Process failed with exit code 1. > The following products could not be built for configuration > qt-5-1-1-debug: testqbs. >
Fixed link https://www.dropbox.com/sh/aseou0dar47iyz3/KXhkdFTd_1 _______________________________________________ QBS mailing list [email protected] http://lists.qt-project.org/mailman/listinfo/qbs
