Installing/Using Ruby 2.x and Qt 5 - ruby

Are there simple ways to install and use Qt for using qt-ruby on my Windows 7 (64bit) computer? Which steps do I have to take for installing Qt for using it with Ruby? Do I have to install the Qt SDK for the C++ environment? Or is it easier another way?
My goal is to write Qt-Ruby-Code from Emacs and then compile it using MinGW/MSys.
Current Info:
I only found bindings for Qt 4.xx at RubyGems.org and at the KDE Korundum page

I'm not at my computer but as far as I can remember https://github.com/ryanmelt/qtbindings is about your only choice. And the qt build they recommend at http://qt.nokia.com/ times out for me. :( What exactly are you trying to do with those specific version requirements?

Related

install natlink and dragonfly for python2.7 in windows10

I want to implement speech recognition in my windows10 using python2.7. Is it possible to install natlink for python2.7? Because i found that it is only available for python 2.5. If anybody knows how to get natlink and dragonfly for python 2.7 then please guide me. Thanks in advance!!
It is possible, I'm doing it on Win7. I was able to successfully set it up multiple times, when following the following directions exactly:
http://qh.antenna.nl/unimacro/installation/installation.html
And that often included downloading and using the exactly supplied versions they zipped up for use. I don't know if it will work for Win10.
Also, if you can get it working with python 2.5, there's nothing stopping you from having multiple versions on your system.
I installed Dragon Naturally Speaking 13 Premium + Natlink-4.1 (from sourceforge) + Dragonfly with python2.7 on my Windows 8 machine. I also had to install WxPython AFAIR. I had to do a few tests, but this combination works fine. I was able to run some basic tests.

gtk_builder_new_from_file not present under Windows?

I've been working for a couple of days with GTK3+ under Linux in C++ and I've used Glade to design my GUI. In my C++ code, I call gtk_builder_new_from_file instantiate the GUI.
Now I was trying to do the same under Windows. So, I downloaded the latest version of GTK+ (3.6.4, all-in-one 64-bit bundle). The problem is: I can't find the function gtk_builder_new_from_file. I've searched for it in all files too, but it seems not to be there. I've checked the documentation, and this function should be present since version 3.10.
So, why can't I find it? Is a Windows compatibility issue?
3.6.4 is a smaller version number than 3.10 so there does not seem to be any mystery here.
You should use gtk_builder_add_from_file () instead if you can't find a newer Windows bundle.

../include/wx/mac/carbon/private.h:1459: error: ‘Cursor’ does not name a type

I have been using RapidSVN on a Linux machine for the past few years - it has become an excellent tool for managing my source.
Yesterday my trusty Linux laptop had a couple of strokes so I decided it was time to replace it. Today I went out and purchased a new Mac Book Pro with the flashy display and solid state drives.
Then I went hunting for an SVN tool to run on Mac. I found that RapidSVN will run on a Mac as it was developed using wxWidgets (cross platform windowing).
So, I needed to install wxWidgets, however this doesn't come as an executable so I had to download the tar ball. To compile I realised I don't have a compiler installed yet... so, install Xcode 4.4, then learn that doesn't install a compiler either... find the Xcode preference to install the command line tools (compiler).
So, now I have Xcode installed, a gcc compiler, and tracking back up it comes to wxWidgets. It takes a little working out but I manage to extract the files into a directory in my home folder, (following instructions of course), and from the 'build' folder I run the ../configure command (which seems to work) and then the 'make' command which fails:
In file included from ../include/wx/mac/private.h:4,
from ../src/common/dynlib.cpp:48:
../include/wx/mac/carbon/private.h:1459: error: ‘Cursor’ does not name a type
../include/wx/mac/carbon/private.h:1488: error: ‘ClassicCursor’ does not name a type
make: *** [baselib_dynlib.o] Error 1
So I go hunting for a solution only to find this bug: http://trac.wxwidgets.org/ticket/14536 which unfortunately indicates this is not going to be fixed.
Changed 10 months ago by csomor
* status changed from new to closed
* resolution set to wontfix
A dismal day in the land of computers. I am now stuck for the next 5-6 years on a computer that will never be able to compile anything using wxWidgets - I rather feel like taking it back to Apple and getting my money back.
So where to from here? Is there a binary version of wxWidgets available? Is there a binary version of RapidSVN available? Should I downgrade to OSX 10.x something less than I am currently on? Should I upgrade to unstable wxWidgets?
This is an interesting but not very understandable read. What exactly are you trying to achieve? If you're looking to use the best available version of wxWidgets under OS X, get 2.9.4 or the current svn version and build it using the Xcode version you have already with Cocoa support. If you absolutely need to continue to use Carbon (why?), either install Xcode 3, available from Apple, or get 10.6 (or 10.5) SDK in some other way and pass it as the SDK to use to configure using --with-macosx-sdk option as explained in the documentation.
VZ is right. If you need to use wxWidgets 2.8 on OS X (and there are legitimate reasons for needing to do so), get the 10.6 SDK. Copy it alongside the already installed 10.7 and/or 10.8 , and select it in the project/target's build settings.
From here I have given up trying to compile anything on my current OSX. I am not going to downgrade or install multiple versions of different libraries in order to satisfy the lack of support for the latest current stable versions.
From here I will download and install binaries only.
I have Mac OSX Lion and just did this:
brew install wxmac
and was able to get through the install with no issues.

updateing gcc4.0.1 to gcc4.2.1 on mac OS 10.5.7

I would like to my gcc compiler.
I am running mac OS 10.5.7.
I downloaded Xcode3.0 which has gcc4.0.1 and that seems to work fine. But now the program I need to install seems to require gcc4.2.1. Is there are simple way to upgrade/install?
I downloaded the gcc4.2.1 but came across a myriad of other programs that I would have to install to compile gcc4.2.1 (http://gcc.gnu.org/install/prerequisites.html). I can't seem to find a lot of them on my computer eg. ISO C++98 compiler.
I'd be very grateful if anyone has any advice on how best to proceed?
Thank you in advance for any help.
Xcode 3.1 brings gcc 4.2 and supports 10.5, so get that instead. I believe the latest version is 3.1.4.

PyGTK Binaries for Mac

I'm trying to find the Mac OS X binaries for PyGTK 2.24, PyCairo, and PyGObjects, as well as for Glade 2.8.0.
Where can I download these?
The included versions are one older than what you specified, but the 0install project has a very nice Quartz build installer package.
I don't think precompiled binaries are available.
You can install via macports or fink: PyGTK from these package repositories use X11.
There's a native port of GTK at gtk-osx.sourceforge. I don't know how mature it is, because I haven't followed it for the last few years. In this case I'm afraid you need to build it yourself.

Resources