Previous Thread
Next Thread
Print Thread
Page 5 of 9 1 2 3 4 5 6 7 8 9
Joined: May 2008
Posts: 4,930
Likes: 24
Q
Very Senior Member
Very Senior Member
Q Offline
Joined: May 2008
Posts: 4,930
Likes: 24
Originally Posted by qmc2
BTW, does QMC2 Arcade (SVN latest) work for you, Monotremata? David told me that it crashes during start-up, but I didn't have the time to test and investigate myself yet.
I did a test with Qt 4.8.3 / i386 and it works fine for me, although I was hit by this bug in the first place:

https://bugreports.qt-project.org/browse/QTBUG-25312
https://bugreports.qt-project.org/browse/QTBUG-23673

So effectively, after I renamed the /usr/local/Trolltech folder, it strangely started working (= "no longer crashed" shortly after its start):

Code
dhcp86:qmc2 rene$ sudo su - 
Password:
dhcp86:~ root# cd /usr/local
dhcp86:local root# mv Trolltech Trolltech.save
However, it was not the same issue that David reported (according to the back trace he sent), so I'm not sure if Qt 4.8.5 introduced something else... guess I have to update my Qt installation to 4.8.5 on that (slow) machine to find out.


A mind is like a parachute. It doesn't work unless it's open. [Frank Zappa]
Joined: Jul 2007
Posts: 225
Senior Member
Senior Member
Joined: Jul 2007
Posts: 225
Sorry didnt see this yesterday (I was actually busy playing MAME and getting MESS sorted out haha) but yeah mine just took a dive on me too.

Heres the beginning of Apples Crash Report.. If you need the whole thing with the thread details let me know. I didnt wanna flood the board with a 10 page post with the error details hehehe.

Quote
Process: qmc2-arcade [17166]
Path: /Applications/qmc2/qmc2-arcade.app/Contents/MacOS/qmc2-arcade
Identifier: net.arcadehits.qmc2.arcade
Version: 0.3 (5169)
Code Type: X86-64 (Native)
Parent Process: launchd [264]

Date/Time: 2013-09-05 17:26:38.100 -0700
OS Version: Mac OS X 10.6.8 (10K549)
Report Version: 6

Interval Since Last Report: 25889476 sec
Crashes Since Last Report: 12768
Per-App Interval Since Last Report: 24 sec
Per-App Crashes Since Last Report: 2
Anonymous UUID: 866990FA-D2F3-478A-9B6B-95BED2383C16

Exception Type: EXC_BAD_ACCESS (SIGSEGV)
Exception Codes: KERN_INVALID_ADDRESS at 0x0000000000000000
Crashed Thread: 0 Dispatch queue: com.apple.main-thread

And yes Im running with Qt 4.8.5 too. Im pretty sure when I posted a page or two back about my trouble getting QMC-SDLMame to run, but Arcade worked fine, I was also using 4.8.5, but yesterday when cleaning out my downloads folder I had the source archive for 4.8.4 so perhaps I was still on that a month or two back..

Joined: May 2008
Posts: 4,930
Likes: 24
Q
Very Senior Member
Very Senior Member
Q Offline
Joined: May 2008
Posts: 4,930
Likes: 24
I've had a positive report from another team member who's using Qt 4.8.5 on Mac OS X 10.8.x x86_64 without any problems... and David answered that my "fix" from above solved his issue, too (same platform AFAICT). I'm actually a bit confused about that and don't really know what to tell you...

I'd say, please try renaming '/usr/local/Trolltech' to '/usr/local/Trolltech.save' temporarily as I did and see if this works for you as well. If not, please send the full back-trace (or a link to an uploaded one, but it's OK to post here as long as it's done in a code-block)!


A mind is like a parachute. It doesn't work unless it's open. [Frank Zappa]
Joined: Jul 2007
Posts: 225
Senior Member
Senior Member
Joined: Jul 2007
Posts: 225
Yeah renaming it worked for me too, Arcade is running as I type. Now a non QMC question, is my entire QT install located in the Trolltech folder alone?? I noticed in /usr/local I also have a folder called Qt4.8, but I couldve sworn it put everything in the Trolltech directory??

Last but not least, I assume next time I compile an svn version, Ill need to rename the folder back right??

If you need any testing or anything from me since Im on ye olde 10.6 just let me know! Its friday and I got two days off to do nothing but play hehe.

Joined: Aug 2010
Posts: 78
G
Member
Member
G Offline
Joined: Aug 2010
Posts: 78
Yes, you'll need the Trolltech directory back before you compile anything with QT.

New MacOS Build (r5169):

http://goldensdomain.com/qmc2/SVN Builds/QMC2-r5169-MacOS.dmg

Joined: May 2008
Posts: 4,930
Likes: 24
Q
Very Senior Member
Very Senior Member
Q Offline
Joined: May 2008
Posts: 4,930
Likes: 24
Seems that this simple diff to Qt 4.8.5 fixes the issue:

Code
--- ./src/gui/kernel/qcocoaapplication_mac.mm.orig      2013-09-07 17:08:41.000000000 +0200
+++ ./src/gui/kernel/qcocoaapplication_mac.mm   2013-09-07 17:08:50.000000000 +0200
@@ -141,6 +141,9 @@
     if (!qApp)
         return false;
 
+    if (!event)
+        return false;
+
     if (qApp->macEventFilter(0, reinterpret_cast<EventRef>(event)))
         return true;
  
Thanks, David, for testing!


A mind is like a parachute. It doesn't work unless it's open. [Frank Zappa]
Joined: Jul 2007
Posts: 225
Senior Member
Senior Member
Joined: Jul 2007
Posts: 225
Ok so I know how to patch diffs to MAME.. Do I just copy that into a text file, put it in the main QT source directory and then patch???

Dont mind rebuilding Qt as long as it works hehe. Knowing me Ill forget to rename the folder back next time I try to build it and will end up screwing something else up on my system trying to repair it hahaha.

Joined: May 2008
Posts: 4,930
Likes: 24
Q
Very Senior Member
Very Senior Member
Q Offline
Joined: May 2008
Posts: 4,930
Likes: 24
Just download the patch (see link above), cd to the Qt source base folder and do

Code
$ patch -p0 < /tmp/qt-4.8.5.diff
(assuming you store the patch file as /tmp/qt-4.8.5.diff)

However, the diff is so simple that you could as well patch it manually.

It should be enough to just run "make && sudo make install" again... it shouldn't be necessary to rebuild Qt from scratch.

Here's how I did it: http://wiki.batcom-it.net/index.php?title=Building_Qt_on_Mac_OS_X


A mind is like a parachute. It doesn't work unless it's open. [Frank Zappa]
Joined: Jul 2007
Posts: 225
Senior Member
Senior Member
Joined: Jul 2007
Posts: 225
Oh yay just my luck.. Like an idiot I deleted my source folder out of my /Dev directory once I got QMC2 working haha.

I think the QT source blew up to over 1GB once it was done so I deleted it thinking 'Eh I wont need this anymore' haha.
Oh well starting over again but at least itll be patched now! laugh

Joined: May 2008
Posts: 4,930
Likes: 24
Q
Very Senior Member
Very Senior Member
Q Offline
Joined: May 2008
Posts: 4,930
Likes: 24
Well, right, you usually don't need to keep the Qt build tree... but there are many good reasons to still do so if you can (i.e. it's required to build QtCreator from source, at least when you want to have the built-in scene designer smile ). But yeah, the build tree grows to a few GB on disk. I'd recommend adding "-release" to the Qt "configure" step to avoid the debug build at least. Here's the example for Qt 4.8 from the wiki:

Code
$ ./configure -fast -opensource -confirm-license -release
Also, you should disable building examples and demos, which you can only (?) do by editing the file "projects.pro" (prior to running configure!), commenting out the two lines with "SUBDIRS += examples" and "SUBDIRS += demos":

Code
...
#process the projects
for(PROJECT, $$list($$lower($$unique(QT_BUILD_PARTS)))) {
    isEqual(PROJECT, tools) {
       SUBDIRS += tools
    } else:isEqual(PROJECT, examples) {
#       SUBDIRS += examples
    } else:isEqual(PROJECT, demos) {
#       SUBDIRS += demos
    } else:isEqual(PROJECT, libs) {
       include(src/src.pro)
    } else:isEqual(PROJECT, docs) {
       contains(QT_BUILD_PARTS, tools):include(doc/doc.pri)
    } else:isEqual(PROJECT, translations) {
       !contains(QT_BUILD_PARTS, tools):!wince*:SUBDIRS += tools/linguist/lrelease
       SUBDIRS += translations
    } else:isEqual(PROJECT, qmake) {
#      SUBDIRS += qmake
    } else {
       message(Unknown PROJECT: $$PROJECT)
    }
}
...


A mind is like a parachute. It doesn't work unless it's open. [Frank Zappa]
Page 5 of 9 1 2 3 4 5 6 7 8 9

Moderated by  qmc2 

Link Copied to Clipboard
Who's Online Now
0 members (), 628 guests, and 6 robots.
Key: Admin, Global Mod, Mod
ShoutChat
Comment Guidelines: Do post respectful and insightful comments. Don't flame, hate, spam.
Forum Statistics
Forums9
Topics9,399
Posts122,883
Members5,092
Most Online3,327
Nov 10th, 2025
Our Sponsor
These forums are sponsored by Superior Solitaire, an ad-free card game collection for macOS and iOS. Download it today!

Superior Solitaire
Powered by UBB.threads™ PHP Forum Software 8.0.0