Menu

#283 Application C'tor needs to take reference to argc

open
nobody
None
5
2012-10-10
2011-10-20
Ben Adler
No

When I start self-compiled meshlab 1.3.1 on my 64bit opensuse 11.4 (qt 4.7.3), it crashes with a backtrace similar to the one at

http://lists.trolltech.com/qt-interest/2007-06/thread00307-0.html#msg00312.

Fortunately, that message 7 contains the solution, which is to use a c'tor signature like

MyApplication(int& argc, char **argv) instead of plain "int argc".

After changing that, meshlab starts fine on my machine.

Discussion


Log in to post a comment.

MongoDB Logo MongoDB