[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#576207: marked as done (libqt4-dev: Compiling a source that uses Wine headers and QT fails)



Your message dated Mon, 05 Oct 2015 19:35:45 -0300
with message-id <10620885.7TmyJav1Rk@luna>
and subject line Not a bug
has caused the Debian Bug report #576207,
regarding libqt4-dev: Compiling a source that uses Wine headers and QT fails
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact owner@bugs.debian.org
immediately.)


-- 
576207: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=576207
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Package: libqt4-dev
Version: 4.4.3-1+lenny1
Severity: normal

I've developed v3c-dcom http://sourceforge.net/projects/v3c-dcom/ .
It uses Wine headers and on Debian amd64 this requires that

    -D_WIN64 -D_USRDLL -DWINE_UNICODE_NATIVE -fshort-wchar

are included on the command line, as well as

    -D__linux__ -D_FILE_OFFSET_BITS=64 -DLINUX -D_REENTRANT

Unfortunately this is enough for QtCore/qglobal.h to define Q_WS_WIN.
In /usr/include/qt4/QtCore/qglobal.h, line 189:

    #elif !defined(SAG_COM)...

needs to be changed to

    #elif !(defined(SAG_COM) || defined(LINUX))

to account for this, at least that's what I've done on my system to fix this.
Obviously there are a couple of other possible approaches.

Should I define my own preprocessor variable, like V3C_COM ?

Philip

-- System Information:
Debian Release: 5.0.4
  APT prefers stable
  APT policy: (500, 'stable')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.32-trunk-amd64 (SMP w/2 CPU cores)
Locale: LANG=en_IE.UTF-8, LC_CTYPE=en_IE.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages libqt4-dev depends on:
ii  libc6                  2.7-18lenny2      GNU C Library: Shared libraries
ii  libgcc1                1:4.4.2-9         GCC support library
ii  libqt4-assistant       4.4.3-1+lenny1    Qt 4 assistant module
ii  libqt4-dbus            4.4.3-1+lenny1    Qt 4 D-Bus module
ii  libqt4-designer        4.4.3-1+lenny1    Qt 4 designer module
ii  libqt4-help            4.4.3-1+lenny1    Qt 4 help module
ii  libqt4-network         4.4.3-1+lenny1    Qt 4 network module
ii  libqt4-qt3support      4.4.3-1+lenny1    Qt 3 compatibility library for Qt 
ii  libqt4-script          4.4.3-1+lenny1    Qt 4 script module
ii  libqt4-sql             4.4.3-1+lenny1    Qt 4 SQL module
ii  libqt4-svg             4.4.3-1+lenny1    Qt 4 SVG module
ii  libqt4-test            4.4.3-1+lenny1    Qt 4 test module
ii  libqt4-webkit          4.4.3-1+lenny1    Qt 4 WebKit module
ii  libqt4-xml             4.4.3-1+lenny1    Qt 4 XML module
ii  libqt4-xmlpatterns     4.4.3-1+lenny1    Qt 4 XML patterns module
ii  libqtcore4             4.4.3-1+lenny1    Qt 4 core module
ii  libqtgui4              4.4.3-1+lenny1    Qt 4 GUI module
ii  libstdc++6             4.4.2-9           The GNU Standard C++ Library v3
ii  qt4-qmake              4.4.3-1+lenny1    Qt 4 qmake Makefile generator tool
ii  zlib1g                 1:1.2.3.3.dfsg-12 compression library - runtime

Versions of packages libqt4-dev recommends:
ii  libqt4-opengl-dev         4.4.3-1+lenny1 Qt 4 OpenGL library development fi

Versions of packages libqt4-dev suggests:
pn  firebird2.0-dev        <none>            (no description available)
pn  libiodbc2-dev          <none>            (no description available)
ii  libmysqlclient15-dev   5.0.51a-24+lenny3 MySQL database development files
ii  libpq-dev              8.3.9-0lenny1     header files for libpq5 (PostgreSQ
pn  libsqlite0-dev         <none>            (no description available)
ii  libsqlite3-dev         3.5.9-6           SQLite 3 development files
ii  qt4-dev-tools          4.4.3-1+lenny1    Qt 4 development tools
ii  qt4-doc                4.4.3-1+lenny1    Qt 4 API documentation

-- no debconf information



--- End Message ---
--- Begin Message ---
qt4 headers are arch-specific. To get the windows headers you would need to 
build qt with wine or use the installer provided by upstream.

And yes, it took us too long to reply to this one, sorry for that.

-- 
The volume of a pizza of thickness a and radius z can be described by
the following formula:

pi zz a

Lisandro Damián Nicanor Pérez Meyer
http://perezmeyer.com.ar/
http://perezmeyer.blogspot.com/

Attachment: signature.asc
Description: This is a digitally signed message part.


--- End Message ---

Reply to: