Qtruby and ms windows

Could it be, that qtruby requires qt-3.3.x?
Just because it works on my linux boxes with qt-3.3.2 installed.
OTOH http://developer.kde.org/language-bindings/ruby/index.html says qt-3.2.

Jochen

ok, this time I pointed directly to the qt-libs/includes but still the same error message.

./configure --with-qt-includes=/opt/qt/3.2/include --with-qt-libraries=/opt/qt/3.2/lib --with-qt-dir=/opt/qt/3.2

$ grep -R QIconDragEvent /opt/qt/3.2/include/*

doesn't find the undeclared identifier -- seems like there's something wrong with this qt-

Jochen.

where are your libs/includes?
these *are* error messages :slight_smile:
maybe they should be made more obvious :stuck_out_tongue:
Alex

···

ruby-talk@ruby-lang.org schrieb am 14.07.04 13:12:40:
ruby-talk@ruby-lang.org schrieb am 14.07.04 12:56:34:

On Wed, Jul 14, 2004 at 07:49:43PM +0900, =?iso-8859-1?Q? Jochen=20Immend=F6rfer ?= wrote:

I'm not sure about the ./configure output. Looks almost good:

checking for Qt... libraries /opt/qt3/lib, headers /opt/qt3/include using -mt
..
config.status: creating smoke/qt/qtguess.pl
Invalid Qt directory.
config.status: creating smoke/qt/generate.pl
Couldn't find /opt/qt3/include at generate.pl line 101.
Found 'qtdefines'. Reading preprocessor symbols from there...
..
Good - your configure finished. Start make now

Doesn't look like a real error message for me...

Jochen

ruby-talk@ruby-lang.org schrieb am 14.07.04 12:26:24:

completely untested.
no idea why it wouldn't work though.
sure sounds like its using the wrong qt
or doesn't have the correct include directory.
maybe check out the output of ./configure to
see what it automatically finds?

Alex

_______________________________________________________
WEB.DE Video-Mail - Sagen Sie mehr mit bewegten Bildern
Informationen unter: E-Mail-Adresse erstellen kostenlos | FreeMail

mvg,
Alex

--
When women love us, they forgive us everything, even our crimes; when they do
not love us, they give us credit for nothing, not even our virtues.
    -- Honor'e de Balzac

_______________________________________________________
WEB.DE Video-Mail - Sagen Sie mehr mit bewegten Bildern
Informationen unter: E-Mail-Adresse erstellen kostenlos | FreeMail

____________________________________________________
Aufnehmen, abschicken, nah sein - So einfach ist
WEB.DE Video-Mail: E-Mail-Adresse erstellen kostenlos | FreeMail

no its just a messed up detection of compiled in stuff.
richard can probably help out with this :slight_smile:
richard you around? :slight_smile:

Alex

···

On Wed, Jul 14, 2004 at 08:30:47PM +0900, =?iso-8859-1?Q? Jochen=20Immend=F6rfer ?= wrote:

Could it be, that qtruby requires qt-3.3.x?
Just because it works on my linux boxes with qt-3.3.2 installed.
OTOH http://developer.kde.org/language-bindings/ruby/index.html says qt-3.2.

Jochen

ruby-talk@ruby-lang.org schrieb am 14.07.04 13:12:40:

ok, this time I pointed directly to the qt-libs/includes but still the same error message.

./configure --with-qt-includes=/opt/qt/3.2/include --with-qt-libraries=/opt/qt/3.2/lib --with-qt-dir=/opt/qt/3.2

$ grep -R QIconDragEvent /opt/qt/3.2/include/*

doesn't find the undeclared identifier -- seems like there's something wrong with this qt-

Jochen.

ruby-talk@ruby-lang.org schrieb am 14.07.04 12:56:34:

where are your libs/includes?
these *are* error messages :slight_smile:
maybe they should be made more obvious :stuck_out_tongue:
Alex

On Wed, Jul 14, 2004 at 07:49:43PM +0900, =?iso-8859-1?Q? Jochen=20Immend=F6rfer ?= wrote:
> I'm not sure about the ./configure output. Looks almost good:
>

> checking for Qt... libraries /opt/qt3/lib, headers /opt/qt3/include using -mt
> ..
> config.status: creating smoke/qt/qtguess.pl
> Invalid Qt directory.
> config.status: creating smoke/qt/generate.pl
> Couldn't find /opt/qt3/include at generate.pl line 101.
> Found 'qtdefines'. Reading preprocessor symbols from there...
> ..
> Good - your configure finished. Start make now
>
> Doesn't look like a real error message for me...
>
>
> Jochen
>
>
>
> ruby-talk@ruby-lang.org schrieb am 14.07.04 12:26:24:
>
> completely untested.
> no idea why it wouldn't work though.
> sure sounds like its using the wrong qt
> or doesn't have the correct include directory.
> maybe check out the output of ./configure to
> see what it automatically finds?
>
> Alex
>
>
> _______________________________________________________
> WEB.DE Video-Mail - Sagen Sie mehr mit bewegten Bildern
> Informationen unter: E-Mail-Adresse erstellen kostenlos | FreeMail
>
>

mvg,
Alex

--
When women love us, they forgive us everything, even our crimes; when they do
not love us, they give us credit for nothing, not even our virtues.
    -- Honor'e de Balzac

_______________________________________________________
WEB.DE Video-Mail - Sagen Sie mehr mit bewegten Bildern
Informationen unter: E-Mail-Adresse erstellen kostenlos | FreeMail

____________________________________________________
Aufnehmen, abschicken, nah sein - So einfach ist
WEB.DE Video-Mail: E-Mail-Adresse erstellen kostenlos | FreeMail

mvg,
Alex

--
When women love us, they forgive us everything, even our crimes; when they do
not love us, they give us credit for nothing, not even our virtues.
    -- Honor'e de Balzac

Alexander Kellett wrote:

no its just a messed up detection of compiled in stuff.
richard can probably help out with this :slight_smile:
richard you around? :slight_smile:

Yes - hi Alex - maybe we can carry on discussing this on the
kde-bindings@kde.org mailing list..

-- Richard

Richard Dale wrote:

Alexander Kellett wrote:

no its just a messed up detection of compiled in stuff.
richard can probably help out with this :slight_smile:
richard you around? :slight_smile:

Yes - hi Alex - maybe we can carry on discussing this on the
kde-bindings@kde.org mailing list..

-- Richard

Would y'all please report back if someone gets qtruby working in windows?

Hans Fugal wrote:

Richard Dale wrote:

Alexander Kellett wrote:

no its just a messed up detection of compiled in stuff.
richard can probably help out with this :slight_smile:
richard you around? :slight_smile:

Yes - hi Alex - maybe we can carry on discussing this on the
kde-bindings@kde.org mailing list..

-- Richard

Would y'all please report back if someone gets qtruby working in windows?

Yes ok - it's definately possible because some PerlQt guys recently got the
Smoke library working on Windows. I seem to remember them saying something
about 'removing certain headers'. Hmm. But maybe ruby-talk might want to be
spared from a 'blow by blow' account of how exactly to get there..

I just need to have a look at the recent kde-perl@kde.org posts to see what
they said and did. The ruby QtRuby extension part should be easy enough to
compile I would have thought. It builds on Mac OS X so there can't be any
X11 dependencies in there.

-- Richard

Hans Fugal wrote:

Would y'all please report back if someone gets qtruby working in windows?

Richard Dale wrote:

Yes ok - it's definately possible because some PerlQt guys recently got
the Smoke library working on Windows. I seem to remember them saying
something about 'removing certain headers'. Hmm. But maybe ruby-talk might
want to be spared from a 'blow by blow' account of how exactly to get
there..

I just need to have a look at the recent kde-perl@kde.org posts to see
what they said and did. The ruby QtRuby extension part should be easy
enough to compile I would have thought. It builds on Mac OS X so there
can't be any X11 dependencies in there.

Here's the post from the kde-perl mailing list about building the Smoke
library on Windows. Other people tried the instructions and confirmed it
worked ok. I'm not sure if this works with cygwin though:

"Although there are bindings for using PerlQt on windows with cygwin-x11 and
qt-x11, I didn't want my target computer to have those installed. So I
coerced PerlQt into compiling and linking under MSVC6"

···

On Tuesday 22 June 2004 14:50, ryan@vbijl.net wrote:

Hello,

Thought you all might be interested. I managed to coerce
MSVC++ 6 into compiling PerlQt. Then I managed to convince
it to link. And, amazingly, it worked[1]!

I used ActiveState 5.8.4, Qt/Windows 3.2.0, MSVC++6, and PerlQt 3.008.

I've put together a document describing how I got it to work:
   http://www.vbijl.net/~ryan/software/perlqt/

[1] There are a few issues. For example, timers seem to be broken.
Also a few headers that didn't want to be used.

Anyways. I was hoping someone on this list might be able to
try this out before I post to the qt-interest list.

Ryan

-- Richard