EnhancedQT External in OSX
Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller
EnhancedQT External in OSX
I'm playing with the EnhancedQT external ...again.. and I was wondering if anyone could tell me what I'm doing wrong. I can successfully create a standalone for windows that includes the EnhancedQT.dll. I have no problem controlling things like volume and balance under Windows. However, when I try to make the same thing work under OSX it does not work. I look at the .app file LiveCode creates, and within the Contents/MacOS/Externals/ folder, there's no EnhancedQT.bundle ? I've manually copy-pasted the EnhancedQT.bundle into the .app's Externals folder but it still does not work. I've added the relative path to the stack's Externals property (Externals/EnhancedQT.bundle) but still doesn't work. I'm sure that many folks have successfully used the EnhancedQT external in OSX. Perhaps someone could tell me what I'm doing wrong. When I save as a Standalone I was thinking LC should include the EnhancedQT.bundle in the same way that it includes RevXML.bundle or revfont.bundle yet it does not. What's the trick to get EQT to work in a standalone under OSX? Thanks for any help.
Re: EnhancedQT External in OSX
Hi x,
You need to add a new, empty substack to your main stack. In the preOpenStack handler (or the startUp handler) of card 1 of your mainstack, you add a script that sets the externals property of the empty substack to the absolute path to the external. After setting this property, you go to the substack invisible and start using it.
Best,
Mark
You need to add a new, empty substack to your main stack. In the preOpenStack handler (or the startUp handler) of card 1 of your mainstack, you add a script that sets the externals property of the empty substack to the absolute path to the external. After setting this property, you go to the substack invisible and start using it.
Best,
Mark
The biggest LiveCode group on Facebook: https://www.facebook.com/groups/livecode.developers
The book "Programming LiveCode for the Real Beginner"! Get it here! http://tinyurl.com/book-livecode
The book "Programming LiveCode for the Real Beginner"! Get it here! http://tinyurl.com/book-livecode
Re: EnhancedQT External in OSX
You lost me. I did try your recommendation but still no change. Works on Windows but not on Mac.
Re: EnhancedQT External in OSX
x,
Try again. It is cumbersome and prone to mistakes. I got it to work and am selling a product (Snapper Screen Recorder) that uses the external.
Kind regards,
Mark
Try again. It is cumbersome and prone to mistakes. I got it to work and am selling a product (Snapper Screen Recorder) that uses the external.
Kind regards,
Mark
The biggest LiveCode group on Facebook: https://www.facebook.com/groups/livecode.developers
The book "Programming LiveCode for the Real Beginner"! Get it here! http://tinyurl.com/book-livecode
The book "Programming LiveCode for the Real Beginner"! Get it here! http://tinyurl.com/book-livecode
Re: EnhancedQT External in OSX
When I go to the empty substack then what am I starting to use? If the substack is empty then what is there to use on it? That's the part that lost me. In terms of setting the externals property, this is the code I've placed in the PreOpenStack of the mainstack:...you go to the substack invisible and start using it.
Code: Select all
set the itemdel to "/"
put item 1 to -2 of the effective filename of this stack & "/Externals/EnhancedQT.bundle" into myPath1
set the externals of stack "MyEmptySubstack" to myPath1
go invisible stack "MyEmptySubstack"
set the itemdel to comma
Re: EnhancedQT External in OSX
x,
Start using the stack. Just try it.
Best,
Mark
Start using the stack. Just try it.
Best,
Mark
The biggest LiveCode group on Facebook: https://www.facebook.com/groups/livecode.developers
The book "Programming LiveCode for the Real Beginner"! Get it here! http://tinyurl.com/book-livecode
The book "Programming LiveCode for the Real Beginner"! Get it here! http://tinyurl.com/book-livecode
Re: EnhancedQT External in OSX
I've been able to get a little bit more action on this. The problem seemed to be located in the path to the external needing to be Externals/EnhancedQT.dll or Externals/EnhancedQT.bundle ... Now I have a new issue. Perhaps this is what you meant when you said it is "cumbersome and prone to mistakes." I can get the the external to work for a little bit but then the IDE or a standalone. So, how does one debug the "Windows has stopped responding" message. Is there a log or something in Rev that I can look at? Maybe I should ask this in a new thread.
Re: EnhancedQT External in OSX
X,
There are many reasons why Windows may stop responding. It could be a problem with your scripts, an incompatibility between the external and your version of window, or even a hardware problem. Try a very simple script first, then see if it works at all. If it doesn't, post your script and we'll figure out if it is in the script or something else.
Best,
Mark
There are many reasons why Windows may stop responding. It could be a problem with your scripts, an incompatibility between the external and your version of window, or even a hardware problem. Try a very simple script first, then see if it works at all. If it doesn't, post your script and we'll figure out if it is in the script or something else.
Best,
Mark
The biggest LiveCode group on Facebook: https://www.facebook.com/groups/livecode.developers
The book "Programming LiveCode for the Real Beginner"! Get it here! http://tinyurl.com/book-livecode
The book "Programming LiveCode for the Real Beginner"! Get it here! http://tinyurl.com/book-livecode