wxWidgets, QT4, for Puppy 4.3.1?

discuss compiling applications for Puppy
Post Reply
Message
Author
User avatar
Makoto
Posts: 1665
Joined: Fri 04 Sep 2009, 01:30
Location: Out wandering... maybe.

wxWidgets, QT4, for Puppy 4.3.1?

#1 Post by Makoto »

Are there any existing packages for either wxWidgets or QT4 (probably 4.5 or better) that work with Puppy 4.3.1 and include the dev headers?
[ Puppy 4.3.1 JP, Frugal install ] * [ XenialPup 7.5, Frugal install ] * [XenialPup 64 7.5, Frugal install] * [ 4GB RAM | 512MB swap ]
In memory of our beloved American Eskimo puppy (1995-2010) and black Lab puppy (1997-2011).

muggins
Posts: 6724
Joined: Fri 20 Jan 2006, 10:44
Location: hobart

#2 Post by muggins »

Not sure about qt4, but I think this wxGTK-2.8.8.pet should work.

User avatar
Makoto
Posts: 1665
Joined: Fri 04 Sep 2009, 01:30
Location: Out wandering... maybe.

#3 Post by Makoto »

I don't know... I've tried compiling one program, [url=http://comical.sourceforge.net/]Comical[/u], but didn't get very far. Of course, it probably doesn't help that Comical's supposedly a pain to try to compile. :)

I think it was supposedly picky about the version of wxWidgets it's compiled against, for starters. Do most wxWidgets programs generally want a specific version of wxWidgets? (Other than just "vX.X.X or higher," I mean.)
[ Puppy 4.3.1 JP, Frugal install ] * [ XenialPup 7.5, Frugal install ] * [XenialPup 64 7.5, Frugal install] * [ 4GB RAM | 512MB swap ]
In memory of our beloved American Eskimo puppy (1995-2010) and black Lab puppy (1997-2011).

muggins
Posts: 6724
Joined: Fri 20 Jan 2006, 10:44
Location: hobart

#4 Post by muggins »

I just dowloaded comical v0.8 source, extracted it, installed the wxGtk package I mentioned above, then , after first changing line 5 of the Makefile from:

Code: Select all

prefix = /usr/local
to:

Code: Select all

prefix = /usr
received this error, after running make:

Code: Select all

ComicalApp.cpp:63: error: invalid use of undefined type `struct wxIcon
Opening that file, & checking line 63, there is, for a mac:

Code: Select all

#if !defined(__WXMAC__) && !defined(__WXCOCOA__)
	frame->SetIcon(wxICON(comical));
#endif
Then, just by deleting those 3 lines, 62-64, it then compiled fine.

muggins
Posts: 6724
Joined: Fri 20 Jan 2006, 10:44
Location: hobart

#5 Post by muggins »

Makoto,

I just re-read & saw you were asking specifically for p431. While I compiled comical on p525, I'm pretty sure the wxGtk package, above, was originally compiled on p412, so should work fine with p431. Let us know if you have problems getting it to work.

User avatar
Makoto
Posts: 1665
Joined: Fri 04 Sep 2009, 01:30
Location: Out wandering... maybe.

#6 Post by Makoto »

It does seem to work, though it does still throw a large number of warnings. :)
(Actually, there's supposed to be some far more recent work done on Comical since the 0.8 version, in the SVN... but I haven't looked at it.) I haven't had time to test my build beyond the usual 'does it open when I click on it' test, however. :D

I'm wondering if Qt 4.6 can be built on 4.3.1, for programs like this, among others. Of course, if there's any other way to quickly view OBJ models than loading them into a full-fledged renderer like Blender, and spend time trying to make it look right...
I'd been told once that Qt 4.5 and higher wouldn't work with the kernels in the 4.3.1 Puppies, but even then, they weren't sure. :|
(then again, I'd probably still have to update qmake on this system (I'd done that with my previous Puppy setup, but not this one...)
[ Puppy 4.3.1 JP, Frugal install ] * [ XenialPup 7.5, Frugal install ] * [XenialPup 64 7.5, Frugal install] * [ 4GB RAM | 512MB swap ]
In memory of our beloved American Eskimo puppy (1995-2010) and black Lab puppy (1997-2011).

Post Reply