[Boost-bugs] [Boost C++ Libraries] #9675: qt5: moc invocation broken for Qt 5.2

Subject: [Boost-bugs] [Boost C++ Libraries] #9675: qt5: moc invocation broken for Qt 5.2
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2014-02-17 08:38:37


#9675: qt5: moc invocation broken for Qt 5.2
------------------------------+---------------------------
 Reporter: frank.richter@… | Owner: vladimir_prus
     Type: Bugs | Status: new
Milestone: To Be Determined | Component: build
  Version: Boost 1.55.0 | Severity: Regression
 Keywords: |
------------------------------+---------------------------
 Between Qt 5.1 and 5.2, the command line syntax for `moc` changed,
 breaking builds.
 Specifically, the `-f` command line argument works differently:
 previously, it was `-f<file>` where `<file>` could be omitted; in Qt 5.2,
 it's `-f <file>` – notice the additional space, and `<file>` is not
 optional any more.
 The moc invocation by the Qt5 module relied on the old behaviour as it
 passed `-f` without a filename. Furthermore, the moc input file was passed
 right after the `-f` argument. The same usage is now interpreted as the
 input file being the parameter to `-f`, and the input it expected on
 `stdin`. Since nothing is ever written into it, moc never finishes.

-- 
Ticket URL: <https://svn.boost.org/trac/boost/ticket/9675>
Boost C++ Libraries <http://www.boost.org/>
Boost provides free peer-reviewed portable C++ source libraries.

This archive was generated by hypermail 2.1.7 : 2017-02-16 18:50:15 UTC