[QBS] promoted class in ui file
Philip A Reimer
antreimer at gmail.com
Tue Nov 12 16:55:14 CET 2013
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
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.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.22 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/
iQEcBAEBAgAGBQJSgk9iAAoJEBXbY7Xe8exMkBIIAJ1yyfDKPyq89ZqgzmxIjAfe
kaxYpAluXOw6Z6TeN1vN++eJB8qwMEE8Ml/OXnUoOdmOvtA9DlI1k7PX6DEpl3sm
GB8EGD+4/JGkA0qkBEDNSucnBnU3bl5sywBvCs7+pJcK3YJLyqTj7gN4vGPolvRV
MW6Y+WqeBpmhfcftUANDp2cn4v3lE++nYi94XtwDOGSeJqh0PxgYTehu2X6dQ1J0
hMJ7Uc3U8mWAnr66L9Y6nRuK9dWK9dtukmLO8Mk9AlmxPD8ISxUxN8aOkYN5CoyH
fsBNolOkjcrmgBU6Gbg8evz4L3hnV3614rNBiinVMVeKoGFwm2m1EpNd6qbzcvE=
=yXUN
-----END PGP SIGNATURE-----
More information about the Qbs
mailing list