Public bug reported:

Hi,

It seems QBS can't build projects referencing to Qt.core in Ubuntu
16.04.1.

Steps to reproduce:
- Install QBS and Qt creator
- In Qt creator, create a QBS projects ("Non-Qt-Project/Plain C++ Application")
- In the .qbs file, add the line Depends{name: "Qt.core"} inside the 
CppApplication item
- Build

Expected result:
The project builds without errors

Actual result:
Build error:
:-1: error: 
/home/chris/.config/QtProject/qtcreator/qbs/profiles/qtc_Test3_6789576e/modules/Qt/core/core.qbs:239:26
 Error while calling Rule.outputArtifacts: Error: There are 0 scanners for the 
file tag cpp. Expected is exactly one.

Note:
A similar bug was reported and fixed for debian:
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=797774
Maybe, it it is enough to merge the fix?

Release: 16.04
qbs:
  Installed: 1.4.5+dfsg-2
  Candidate: 1.4.5+dfsg-2
  Version table:
 *** 1.4.5+dfsg-2 500
        500 http://at.archive.ubuntu.com/ubuntu xenial/universe amd64 Packages
        100 /var/lib/dpkg/status

qtcreator:
  Installed: 3.5.1+dfsg-2ubuntu2
  Candidate: 3.5.1+dfsg-2ubuntu2
  Version table:
 *** 3.5.1+dfsg-2ubuntu2 500
        500 http://at.archive.ubuntu.com/ubuntu xenial/universe amd64 Packages
        100 /var/lib/dpkg/status

** Affects: qtcreator (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: qbs qtcreator

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1660163

Title:
  QBS fails to build project using Qt.core

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/qtcreator/+bug/1660163/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to