Qt question

If you want to talk about your personal paperweight, you've found the right place!

Moderator: Moderators

Qt question

Postby AClockworkOrange » Sun Sep 26, 2010 8:04

I wasn't sure where this exactly fits in here or over at the Qt forums or somewhere else....

I recently wrote a client for XMMS2 using Python and Qt. I developed it on my desktop at home, which I use Mandriva. I recently put Sabayon on my laptop and wanted to use my application. But, when I went to compile my program, I got errors that I didn't get on my desktop. The error had to do with passing a non-C++ type parameter in a SIGNAL that was connected to a method. For example, I had something like self.connect(method1, SIGNAL("displayIds(id_list)"), self.addFiles). The parameter id_list was a list of integers; e.g., [1, 17, 22]. (I've since corrected it so that the program compiles on both of my machines.) So, any ideas why the program compiled on one machine and not the other?

Many thanks ahead of time!
AClockworkOrange
Baby Hen
 
Posts: 6
Joined: Fri Sep 24, 2010 16:20

Re: Qt question

Postby Thev00d00 » Mon Sep 27, 2010 12:51

We have a newer GCC or Qt probably. Sabayon is Gentoo based so as we build our own apps the build system is configured to die at build time and not runtime.

You should link people up to your apps page. :D
Image
Please report Bugs on the Bugzilla, not forum
Please Adopt an Unanswered thread
Website / Blog : v00d00.net
twitter: Follow Me
G+: Circle Me
User avatar
Thev00d00
Generally Awesome (tm)
 
Posts: 1467
Joined: Wed Feb 21, 2007 15:52
Location: United Kingdom

Re: Qt question

Postby AClockworkOrange » Wed Sep 29, 2010 3:15

Interesting. Even with the error, the program still ran and worked on Mandriva. In retrospect, it seems it shouldn't have, though.

My app is at http://inkleined.com/SeaSerpent. It's my first app...I still have tons to learn.
AClockworkOrange
Baby Hen
 
Posts: 6
Joined: Fri Sep 24, 2010 16:20


Return to Off Topic

Who is online

Users browsing this forum: No registered users and 1 guest