<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "http://bugs.gentoo.org/bugzilla.dtd">

<bugzilla version="2.22.7"
          urlbase="http://bugs.gentoo.org/"
          maintainer="bugzilla@gentoo.org"
>

    <bug>
          <bug_id>115691</bug_id>
          
          <creation_ts>2005-12-15 12:33 0000</creation_ts>
          <short_desc>games-kids/cubetest-0.9.4 (version bump)</short_desc>
          <delta_ts>2007-03-15 09:06:33 0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>Gentoo Linux</product>
          <component>Games</component>
          <version>unspecified</version>
          <rep_platform>All</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          
          <priority>P2</priority>
          <bug_severity>enhancement</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          
          <everconfirmed>1</everconfirmed>
          <reporter>maquiz@zonnet.nl</reporter>
          <assigned_to>games@gentoo.org</assigned_to>
          <cc>esigra@gmail.com</cc>
    
    <cc>qt@gentoo.org</cc>

      

      
          <long_desc isprivate="0">
            <who>maquiz@zonnet.nl</who>
            <bug_when>2005-12-15 12:33:39 0000</bug_when>
            <thetext>New ebuid for games-kids/cubetest-0.9.4 based on QT4

Reproducible: Always
Steps to Reproduce:
1.
2.
3.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>maquiz@zonnet.nl</who>
            <bug_when>2005-12-15 12:35:05 0000</bug_when>
            <thetext>Created an attachment (id=74819)
cubetest 0.9.4 ebuild
</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>jforman@gentoo.org</who>
            <bug_when>2005-12-15 12:39:26 0000</bug_when>
            <thetext>Please read the bugzilla product descriptions more clearly next time. &quot;Bugzilla&quot;
refers to bugs that actually relate to bugs.gentoo.org. This has NOTHING to do
with our bugs tracker.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>vapier@gentoo.org</who>
            <bug_when>2005-12-23 21:41:20 0000</bug_when>
            <thetext>doesnt work, qt stuff is funky

qt guys: how does this stuff work ?</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>carlo@gentoo.org</who>
            <bug_when>2005-12-31 10:56:43 0000</bug_when>
            <thetext>Both Qt and cubetest issue...


When you look at the Makefile:

125:QT_CFLAGS = -DQT_SHARED -I/usr/include/qt4 -I/usr/include/qt4/QtGui -I/usr/include/qt4 -I/usr/include/qt4/Qt3Support
126:QT_CXXFLAGS =


But QT_CXXFLAGS should be set. Then there&apos;s /usr/include/qt4, which doesn&apos;t include any headers (having Qt 4.1 installed). Looking e.g. at the includes of /usr/include/qt4/Qt/qobject.h reveals that everything in /usr/include/qt4/Qt should in fact be in /usr/include/qt4.

There&apos;s also another issue. The make files don&apos;t call moc, so you have to do it before compling:

for i in $(find  src/ -iname *_moc.cpp) ; do moc ${i/_moc.cpp/.h} -o $i ; done

Otherwise...

# side_moc.cpp:14:2: #error &quot;This file was generated using the moc from 4.0.1. It&quot;
# side_moc.cpp:15:2: #error &quot;cannot be used with the include files from this version of Qt.&quot;
# side_moc.cpp:16:2: #error &quot;(The moc has changed too much.)&quot;
# make[1]: *** [libobject_la-side_moc.lo] Error 1


Did not investigate any further.

</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>caleb@gentoo.org</who>
            <bug_when>2006-01-02 17:41:45 0000</bug_when>
            <thetext>As best as I know, /usr/include/qt4 shouldn&apos;t have any .h files in it.  It&apos;s up to the package to get the include directories right.  It either needs to explicitly include each module (/usr/include/qt4/QtBLAH), or /usr/include/qt4/Qt which contains all of them.  It should be handled by the .pro file of the package - if it&apos;s not using a .pro file (haven&apos;t had a chance to look), then I think it&apos;s an upstream issue.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>carlo@gentoo.org</who>
            <bug_when>2006-01-03 08:46:11 0000</bug_when>
            <thetext>O.k. You can argue so. But Trolltech is not very friendly to their customers complicating the header inclusion this way, imho. Having one base directory to refer to would be much simpler. Or by example: ../QtCore/qobjectdefs.h instead QtCore/qobjectdefs.h in /usr/include/qt4/Qt/qobject.h. Also there is no .pc file for /usr/include/qt4/{Qt,QtAssistant,QtDesigner,QtUiTools}.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>vapier@gentoo.org</who>
            <bug_when>2006-06-20 23:00:50 0000</bug_when>
            <thetext>in portage, thanks kde team</thetext>
          </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="0"
              isprivate="0"
          >
            <attachid>74819</attachid>
            <date>2005-12-15 12:35 0000</date>
            <desc>cubetest 0.9.4 ebuild</desc>
            <filename>cubetest-0.9.4.ebuild</filename>
            <type>text/plain</type>
            <data encoding="base64">IyBDb3B5cmlnaHQgMTk5OS0yMDA1IEdlbnRvbyBGb3VuZGF0aW9uCiMgRGlzdHJpYnV0ZWQgdW5k
ZXIgdGhlIHRlcm1zIG9mIHRoZSBHTlUgR2VuZXJhbCBQdWJsaWMgTGljZW5zZSB2MgojICRIZWFk
ZXI6Cgppbmhlcml0IHF0NAoKREVTQ1JJUFRJT049IkEgcHJvZ3JhbSB0byB0cmFpbiB5b3VyIHNw
YXRpYWwgaW5zaWdodCIKSE9NRVBBR0U9Imh0dHA6Ly93d3cudmFuZGVub2V2ZXIuaW5mby9zb2Z0
d2FyZS9jdWJldGVzdC8iClNSQ19VUkk9Imh0dHA6Ly93d3cudmFuZGVub2V2ZXIuaW5mby9zb2Z0
d2FyZS9jdWJldGVzdC8ke1B9LnRhci5iejIiCgpMSUNFTlNFPSJHUEwtMiIKU0xPVD0iMCIKS0VZ
V09SRFM9ImFtZDY0IH5wcGMgeDg2IgpJVVNFPSIiCgpERVBFTkQ9Ij49eDExLWxpYnMvcXQtNC4w
LjEiCg==
</data>        

          </attachment>
    </bug>

</bugzilla>