Qt multi-touch events not working with magic trackpad in Mac OS X - macos

I just recently started working with Qt 4.7.4 64-bit in order to make some cross-platform multi-touch applications. However, I can’t get Qt's touch events working in Mac OS X.
When I build and run my own application or any of the Qt touch demos, including fingerpaint and knobs, it doesn’t work. No touches I perform on the trackpad, be it a single or multiple touches, does anything in the application; no QTouchEvents are received. I’ve tried on both a Mac Pro with a magic trackpad and a Macbook Air with its build-in multi-touch trackpad, and in both Snow Leopard and Lion.
Qt's documentation doesn't make any mention of these demos, or QTouchEvents in general, not working in OS X, and implies that they do. And in my searches for a solution, I have seen videos of Qt's multi-touch working on Mac OS X, and found other people talking about using it, so there must be some way to get this to work.
Does anyone have any idea what’s going wrong? Thanks in advance!

Try link Cocoa framework to your application, it can fix some strange behaviour with events on MacOS X.

For posterity, I solved this by updating to Qt 4.8.0. After doing so multi-touch just started working.

Related

Does The OS X Leopard Aqua Theme Still Exist In Modern macOS Catalina?

If you get the free app "SmartCVS" for macOS, you'll notice that the entire application looks and feels like something you'd see on OS X Leopard. I've seen this behavior before with a "Charles Web Proxy" version I lost 2 years ago. But this SmartCVS App helped me finally find this "Classic Mode" behavior again. Can I do something like this if I use a very old version of Xcode and set some values in the info.plist?
How can this old OS X app do this?
Look at the GUI, this is exactly how everything looked when OS X Leopard was released.
This does not feel like an app with just some GUI customizations, this feels like there's some dormant "Aqua skeuomorphic mode" buried somewhere in the dependencies of macOS Catalina.
no. apple removed snow leopard's theme files completely in 10.10 yosemite. smartcvs is a java applet, and because of that, it can't directly access the macOS theme, so they just added it themselves and never bothered to update it for new versions of macOS
edit (3/4/21): i did some research (googling file names in the app) and i found that it uses a library called "quaqua" to replicate the theme. it's included in the app, named "quaqua.jar".

CBPeripheralManager startAdvertising not working on OS X yosemite

does anyone notice any issues when using your mac (running OS X 10.10 yosemite DP 6) as an iBeacon? I tried several tools and I also developed it myself (using the CBPeripheralManager startAdvertising) but without any luck.
When running those apps (+ the the code I developed myself) on a mac running OS X 10.9 Mavericks, it works like a charm.
Is there anything specific required for OS X 10.10 yosemite or is this a bug?
Any help is appreciated!
EDIT: Radius Networks has confirmed this issue has shown up on subsequent pre-releases of Yosemite. This OS veesion blocks sending an iBeacon transmission with the internal interface, but allows it with external interfaces. So you can add an external Bluetooth dongle like the GBU521 and transmission works again.
It's gotta be a bug in the code or something specific to your machine. We have tested our MacBeacon OSX app on Yosemite and have not noticed any problems.
In fact you can indeed advertise your Mac running Yosemite as an iBeacon with an external compatible Bluetooth 4.0 (USB).
I wrote a simple iBeacon transmitter for Yosemite written in Swift, look here https://updatemycode.com/2014/11/29/yosemite-as-an-ibeacon-swift/.
This does seem to be a problem with Yosemite 10.10. This is acknowledged now on the radius network website: http://www.radiusnetworks.com/ibeacon/macbeacon/
I'm having to buy usb beacons that I can easily power on and off for testing because of this issue.
I didn't test this with 10.10, but I'm able to use 10.11.3 to advertise as a beacon (at least with the project from #mgigirey). Perhaps Apple opened this again?

Does OS X supports HID over Gatt?

We are developing a hardware device that implements BTLE profiles and already works fine with iOS.
Now, we are implementing HID over Gatt profile so that it can communicate with OS X. The final purpose is changing PowerPoint slides and that such of things.
My iMAC does not detect the device using Bluetooth assistant, but I can connect to it with LightBlue app, although I get no keyboard effect. That makes me think I would need drivers/code, even develop an app.
I would appreciate any point to start with.
I answer myself in case it could be useful for anybody. I've updated my iMAC to Mavericks 10.9.4 and the first quick test has worked properly. I previously had Mountain Lion and it did not work as I posted before.
#Paulw11, thanks for the link. I watched the video and if I'm not wrong, there is a statement that HID over Gatt profile (HOGP) is available from iOS7 and OSX Mavericks.

Why does this Qt app have multiple entries in the application menu?

What could be the reason my Qt application has multiple entries in the Mac application menu? (I'm building against Qt 4.8 on Mountain Lion)
I've read and re-read the Mac specific Qt issues, along with QMenubar on Mac OS X, but can't guess what the cause could be.
Any thoughts on what could be causing this?
The issue turned out to be an unneeded call to NSApplicationLoad. This application was recently converted from Carbon to Cocoa, and this call was leftover. Removing it fixed the problem.

Portable Cocoa for Windows

So Im working on a project in Xcode and would like to also be able to work on it on my PC work laptop when travelling. Is there anything I could run off of a USB?
You can try installing Mac OS in your PC!!!
Many of my friends have installed dual Mac OS X Mountain Lion & Mac OS X Mountain-Lion in their Intel Based PC using VMWare 9 and its running fine. But I tried with no success as I am using AMD Processor.
You can edit all of the text files using a normal text editor, like Notepad++. I don't think that there's any software for Windows that can edit all of the different things you would have in your project, like the .xib files and such.
If you were ambitious you could try gnustep, but that is pretty tough to set up on cigwin, and would only be a very close fit for Mac OS X and not iOS.

Resources