Dear all,
I continue a post on the old Rubyforge forum here:
http://rubyforge.org/forum/message.php?msg_id=96272Indeed, a basic Hello World script worked with OCRA.
And by the way, it's loading ALL the Qt dlls like QtOpenGL4.dll, QtSql4.dll, ... that are not needed :s I guess and hope there is a way to remove them from the dependencies because a 10 lines Hello World is already 36MB!
Anyway, I tried to find what was messing up everything in my script... and quickly found!
It seems to be one of the required dependencies.
I simply added all the "require" calls of my script to that Hello World, and the error occurred.
With just
require 'zip/zipfilesystem', the error occurs... and I need the zip
Here is a minimal script raising the error:
require 'Qt4'
require 'zip/zipfilesystem'
#require 'mime/types'
#require 'rexml/document'
#require 'digest/md5'
#require 'json'
app = Qt::Application.new(ARGV)
hello = Qt::PushButton.new('Hello World!')
hello.resize(100, 30)
hello.show
app.exec
The problem is that I really require that dependencies in my script (all the ones I commented in this script), so how can I load them?
Best regards,
Thomas