Skip to main content

All Questions

Tagged with
-4 votes
0 answers
51 views

Where can I see the system tray icon on MacOS? [closed]

I have created using system tray icon class in Qt C++ SDK. But I couldn't see on the MacOS System and haven't seen any system tray icon on MacOS until now. I would like to know if anyone can help me ...
David Hason's user avatar
0 votes
0 answers
18 views

How to Reactivate the Last Focused Window After My Qt App Closes on macOS

I'm developing a screenshot-taker application using Qt and need some assistance with macOS-specific behavior. Here’s the scenario: When I take a screenshot, my application becomes focused to allow ...
Anwarul Islam's user avatar
0 votes
2 answers
79 views

Capture screen area C++

I am trying to make a cross-platform app to measure FPS. In windows it works but in macos using only QT, I couldn't capture other apps in the area. So I uses CoreGraphics for Mac but I am still ...
ASM's user avatar
  • 1
0 votes
0 answers
57 views

PySide6 Menu Bar Actions Not Showing on macOS Sonoma 14.4.1 [duplicate]

I'm following a tutorial to create a PySide6 application with a menu bar, but I'm running into an issue on macOS Sonoma 14.4.1. The person doing the tutorial is using Windows OS, and everything works ...
Mahmoud Hosny's user avatar
0 votes
0 answers
40 views

How to add "Framework Search Path" via CMake?

I'm trying to add several Qt frameworks to the project via cmake target_link_libraries(Maya::${mayaVersion}::Qt INTERFACE "--framework ${mayaLibraryDir}/QtCore" ...
Dmitrii Motorygin's user avatar
0 votes
1 answer
58 views

How to open file with a specific Application Bundle?

I wrote an application in Qt for macOS & Windows. Now we want to communicate with that app from the browser using custom protocols. As it seems not possible to add this to Qt I tried to build a ...
RED SOFT ADAIR's user avatar
0 votes
1 answer
56 views

QT Designer Crashing when trying to change cursor style on MacOs

I'm trying to create a Qt application using Qt Designer on macOS Sonoma 14.4.1. However, I'm facing a problem: every time I try to change my cursor style or define the frame shape of my frame, the app ...
João Amgarten's user avatar
1 vote
1 answer
48 views

Button color not changing on macOS in Qt

I am trying to change the color of QPushButton to QPalette::Accent, but the color does not change. At first I tried to do it this way: QPushButton button("Apply"); QPalette palette = ...
LeftFrog's user avatar
0 votes
1 answer
50 views

Implement a Custom Protocol on Mac for a Cocoa / Qt Application

We want to be able to call our application from a browser link (as i.e. MS teams does when you open a link to a teams meeting). The principle is quite simple and exists since quite a while. Under ...
RED SOFT ADAIR's user avatar
2 votes
0 answers
53 views

Hiding widgets in a QMainWindow layout with a translucent background on macOS

Using Qt 6.5.1, I got QMainWindow with WA_TranslucentBackground. I want to hide and show some elements in its layout. It looks like the layout or background doesn't repaint after hiding the widget. ...
Lorimyer's user avatar
0 votes
0 answers
32 views

Unable to genrate a float window above all other apps including full-sized one using Python with QT

I am currently developing an app using Python for Mac OS and in future this app is going to be modified to run on Windows as well. Python can meet most of my development needs currently. The problem ...
Qing Zhou's user avatar
1 vote
0 answers
29 views

How to Intercept and Monitor Volume and Screen Brightness Function Keys on macOS?

I am currently using CGEventTapCreate on macOS to intercept certain key operations and event responses. As I am developing a remote desktop tool, I need to capture all key presses, including those of ...
gao.xiangyang's user avatar
1 vote
0 answers
141 views

mac qt app runs from Qt Creator but crashes if macqtdeploy is used

I have a Qt app that for a long time I have successfully built on the Mac inside Qt Creator, then distributed by using macdeployqt then creating a .dmg file. That was on a late-2014 Mac Mini using Qt ...
Graham Asher's user avatar
  • 1,750
0 votes
1 answer
125 views

QWebEngineView on MacOS fails to load Google maps with "Uncaught ReferenceError: google is not defined" error

I have a Qt app that displays Google Maps in a QWebEngineView. The app runs fine when compiled on Windows 10. However, it fails on macOS. Here is a portion of the console output showing the error that ...
Allen Kempe's user avatar
2 votes
1 answer
59 views

How add new options to the dock icon menu

There are some default options that appear when a macOS application in added to the dock like Quit, Hide, Show in Finder, etc. I want to add few more options to the dock menu for my Qt application. I'...
Vipul Gupta's user avatar

15 30 50 per page
1
2 3 4 5
108