qbittorrent doesn't build with qt 4.5

Bug #332470 reported by leigh123linux
6
Affects Status Importance Assigned to Milestone
qBittorrent
Fix Released
High
Christophe Dumez
qbittorrent (Ubuntu)
Fix Released
Medium
Unassigned

Bug Description

qbittorrent doesn't build with qt 4.5

In file included from /usr/include/QtNetwork/qtcpserver.h:42,
                 from /usr/include/QtNetwork/QTcpServer:1,
                 from httpserver.h:25,
                 from httpserver.cpp:22:
/usr/include/QtNetwork/qhostaddress.h:122: error: expected ',' or '...' before '<' token
/usr/include/QtNetwork/qhostaddress.h:124: error: expected ';' before '<' token

Related branches

Revision history for this message
leigh123linux (leigh123linux-deactivatedaccount) wrote :
Revision history for this message
leigh123linux (leigh123linux-deactivatedaccount) wrote :

Here the root.log as well

Revision history for this message
Christophe Dumez (hydr0g3n) wrote :

Hmm. The error seems to be in Qt. Is that possible? Apparently the compilation problem is caused by QTcpServer include.

Bug is in /usr/include/QtNetwork/qhostaddress.h

Revision history for this message
leigh123linux (leigh123linux-deactivatedaccount) wrote :

Here's usr/include/QtNetwork/QTcpServer from qt 4.5

Revision history for this message
leigh123linux (leigh123linux-deactivatedaccount) wrote :

And here's usr/include/QtNetwork/qhostaddress.h

>Hmm. The error seems to be in Qt. Is that possible? Apparently the compilation problem is caused by >QTcpServer include.

It is possible that there is a problem with qt as it's a RC

Revision history for this message
leigh123linux (leigh123linux-deactivatedaccount) wrote :

Ok I have just filed a bug against qt as it looks like qt is the culprit.

https://bugzilla.redhat.com/show_bug.cgi?id=485677

Revision history for this message
Rex Dieter (rdieter) wrote :

The following patch seems to address the issue of QPair not being properly defined in qhostaddress.h

Revision history for this message
Christophe Dumez (hydr0g3n) wrote :

I installed Qt4.5rc1 from Ubuntu Jaunty today. It compiles just fine.

Ubuntu/Debian may have patched it before upload though.

Revision history for this message
Christophe Dumez (hydr0g3n) wrote :

I just checked and Ubuntu does not have any patch for qtcpserver.h or qhostaddress.h

Revision history for this message
leigh123linux (leigh123linux-deactivatedaccount) wrote :

Thanks for taking the time to help, I have added this patch to enable qbittorrent to build.

Revision history for this message
Andrew Starr-Bochicchio (andrewsomething) wrote :
Changed in qbittorrent:
importance: Undecided → Medium
status: New → Triaged
Revision history for this message
Christophe Dumez (hydr0g3n) wrote :

I'm on it.

Changed in qbittorrent:
assignee: nobody → hydr0g3n
importance: Undecided → High
status: New → In Progress
Revision history for this message
Christophe Dumez (hydr0g3n) wrote :

Here is the patch. I applied it to svn v1_3_x stable branch as well as trunk. Thank you for the report.

Revision history for this message
Andrew Starr-Bochicchio (andrewsomething) wrote :

There's a fix for the ubuntu package in Bug 335741 as it is going to need a rebuild due to the pending libtorrent-rasterbar SONAME bump:

http://launchpadlibrarian.net/23563140/qbittorrent_1.3.1-1ubuntu1.debdiff

Changed in qbittorrent:
assignee: nobody → andrewsomething
status: Triaged → In Progress
Changed in qbittorrent:
status: In Progress → Fix Committed
Revision history for this message
Christophe Dumez (hydr0g3n) wrote :

I will release v1.3.2 soon. I'm fixing other bugs which were reported since v1.3.1 too.

Changed in qbittorrent:
milestone: none → 1.3.2
Revision history for this message
Christophe Dumez (hydr0g3n) wrote :

qBittorrent v1.3.2 was just released.

Changed in qbittorrent:
status: Fix Committed → Fix Released
Changed in qbittorrent:
assignee: andrewsomething → nobody
status: In Progress → Confirmed
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package qbittorrent - 1.3.1-1ubuntu1

---------------
qbittorrent (1.3.1-1ubuntu1) jaunty; urgency=low

  * Rebuild for libtorrent-rasterbar SONAME bump.
  * Fix FTBFS with QT 4.5 (LP: #332470)
   - debian/control, debian/rules: Add quilt magic.
   - Add debian/patches/10_ftbfs_httpserver_include.patch

 -- Andrew Starr-Bochicchio <email address hidden> Fri, 06 Mar 2009 16:48:47 -0500

Changed in qbittorrent:
status: Confirmed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.