Navigation

    Qt Forum

    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Search
    • Unsolved
    1. Home
    2. Tags
    3. mac
    Log in to post

    • SOLVED QProcess returns "wrong" result due to architecture, mac.
      General and Desktop • qprocess mac arm architecture • • Dariusz  

      2
      1
      Votes
      2
      Posts
      92
      Views

      Hi, You can open a feature request to discuss that matter.
    • UNSOLVED Qt + Mac + Debug = no symbols/debug for qstring/etc
      General and Desktop • cmake debug mac symbols • • Dariusz  

      2
      0
      Votes
      2
      Posts
      114
      Views

      Hi, Are you using the same stack on macOS ?
    • UNSOLVED macqtdeploy.... cmake... ARM/M1 to intel... oh dear...
      General and Desktop • cmake mac arm crosscompile • • Dariusz  

      7
      0
      Votes
      7
      Posts
      327
      Views

      The mailing list is here.
    • UNSOLVED VoiceOver (iOS/Mac) won't acknowledge accessible selected property (Qt Quick)
      QML and Qt Quick • qtquick ios mac accessibility issue • • j.m.johnson  

      1
      0
      Votes
      1
      Posts
      85
      Views

      No one has replied

    • UNSOLVED Mac - Qt Dylib locations... ?
      General and Desktop • cmake mac linking bundle dylib • • Dariusz  

      6
      0
      Votes
      6
      Posts
      271
      Views

      @Dariusz You should use macdeployqt for all things qt, possibly your custom solutions for your custom stuff (additional libs, etc).
    • UNSOLVED Mac, Static lib, Dynamic lib Lost signals!
      General and Desktop • mac static dynamic dynamiclibrary staticlibrary • • Dariusz  

      13
      0
      Votes
      13
      Posts
      374
      Views

      Libraries that are shared between plugins and executable shall be shared and not static. Otherwise you will end up with multiple definition of the static meta object of your QObject based classes which is not good.
    • UNSOLVED It’s possible to run Qt Suite on MacBook Air M1 smoothly?
      General and Desktop • mac macbook macbookair applesilicon macbookpro • • docPhilip  

      2
      0
      Votes
      2
      Posts
      96
      Views

      Hi and welcome to devnet, AFAIK yes. I am currently unsure about native M1 pre-built package being available but even with the x86_64 you should be able to get started.
    • UNSOLVED Building to WebAssembly: redefinition of '__glewCreateProgram' as different kind of symbol
      Installation and Deployment • qt creator mac webassembly • • ConfusedKeystrokes  

      1
      0
      Votes
      1
      Posts
      401
      Views

      No one has replied

    • UNSOLVED Mac application built with 5.12.9 LTS hangs on launch under Big Sur
      General and Desktop • mac qtwidgets big sur • • calvinb  

      8
      0
      Votes
      8
      Posts
      1575
      Views

      @Nathan-Barel Yes it seems fixed in 5.12 and 5.15 https://bugreports.qt.io/browse/QTBUG-87014
    • SOLVED HAving trouble building my simple hello world program. Error messages of SDK
      General and Desktop • mac sdk qt 5.14 mac os 10.14.6 • • Ray Lee  

      9
      0
      Votes
      9
      Posts
      338
      Views

      Great ! Since you have it working now please mark the thread as solved using the "Topic Tools" button or the three dotted menu beside the answer you deem correct so other forum users may know a solution has been found :-)
    • UNSOLVED QtPDF not availabel on mac?
      General and Desktop • mac qtpdf • • artwaw  

      26
      0
      Votes
      26
      Posts
      1633
      Views

      @DerReisende Thank you. I will try it.
    • SOLVED Printout cut from left on mac
      General and Desktop • mac macosx qprinter • • artwaw  

      4
      0
      Votes
      4
      Posts
      227
      Views

      Thank you @SGaist , filed a bug report.
    • UNSOLVED How to Make Accelerator with & Sign to Work on Mac?
      General and Desktop • mac shortcut • • ChiK  

      4
      0
      Votes
      4
      Posts
      251
      Views

      Right, I forgot that part. The "workaround" is explained in the QKeySequence documentation linked from the QShortcut one.
    • SOLVED Manually Setting NSAccessibility Value on Mac for QAccessibleWidget?
      General and Desktop • mac accessibility • • ChiK  

      5
      0
      Votes
      5
      Posts
      366
      Views

      Glad you found a solution ! Would you mind sharing the changes you made ? You might even consider including them in Qt directly ?
    • SOLVED Warnings: Feast or Famine
      General and Desktop • qmake mac warning • • wumpus7  

      18
      0
      Votes
      18
      Posts
      2307
      Views

      @kenchan - Again, thanks. I've successfully used -Wno-missing-braces on the analyzer and editor, so it 'works' for at least some versions of the compiler. As for 'warn_on'/'warn_off', I had no trouble verifying their existence/function once I found them in the .pro file, but I had no prior warning to look for such a thing. I've been looking for QMAKE_CXXFLAGS, not weird macros that are defined in some middle ground between the .conf files and the .pro files. I don't understand how the .conf files work, much less how to successfully invoke half of the options documented there and elsewhere. On the other hand, I think that I've solved my main issue with the discovery of the hidden 'warn_off' in my library's .pro file. I have compile warnings again. More than I'd like, true, and I don't seem to be able to turn off specific warnings, but fixing the autogenerated code should get rid of the majority of the offending bits, so I can at least have some confidence in my builds again.
    • SOLVED [OSX] Window is blank until forced repaint
      QML and Qt Quick • qml cmake mac quick osx • • mbise1993  

      3
      0
      Votes
      3
      Posts
      896
      Views

      It does look like a similar issue. I was able to find a workaround thanks to this bug report. Setting the target OSX version to 10.12 in CMake did the trick.
    • UNSOLVED Deploy library with Qt Creator plugin on Mac
      Installation and Deployment • qtcreator qmake plugin mac bundle • • Aleksey_K  

      10
      0
      Votes
      10
      Posts
      2466
      Views

      @SGaist, could You provide an example please - fixed mylibrary.pro? Thanks!
    • UNSOLVED Qt Creator clipboard-related hang on Macintosh
      Tools • qt creator mac hang clipboard • • hrodstein  

      6
      0
      Votes
      6
      Posts
      1260
      Views

      Ok, thanks for testing !
    • UNSOLVED Not able to set the compiler for Qt
      Installation and Deployment • mac clang kit setup • • roshKrish  

      7
      0
      Votes
      7
      Posts
      2435
      Views

      Did you install Xcode 8 ? Your other error comes from the fact that you are calling xcodebuild in the folder where it's located and not where a Xcode project can be found.
    • UNSOLVED Modal from a modal (Mac)
      General and Desktop • desktop mac dialog modal dialog • • KevinD  

      5
      0
      Votes
      5
      Posts
      4014
      Views

      @KevinD said in Modal from a modal (Mac): Hi, Don't use these two: box.setModal(true); box.setWindowFlags(box.windowFlags() | Qt::Popup); You're calling QDialog::exec which is for modal-only dialogs, and Qt::Popup isn't for dialogs, leave the window flags be. If you prepare a MWE (the download-and-build type) I can test on Linux (I have no Mac, sorry). Also you might consider filing a bug report if everything else fails. Kind regards.
    • UNSOLVED Changing window titlebar colour in macOS
      General and Desktop • mac • • kegon  

      11
      0
      Votes
      11
      Posts
      5842
      Views

      @SGaist That worked, thank you so much! One issue I may have however is that my main project is written in C++ and when I compile it in Objective-C++ with cmake (adding -x objective-c++ to compile flags), I get all sorts of errors with interpreting the generated .o files. I'm going to google around a bit with what I've learned here and see if I can make it work.
    • UNSOLVED Mouse tracking working intermittently after full screen
      General and Desktop • mac • • kegon  

      8
      0
      Votes
      8
      Posts
      1970
      Views

      Then one thing you can do is disable all your widgets and enable them one by one until you have the bug starting again.
    • UNSOLVED Qt 5.7 OpenGL Core Profile > 2.1 on OS X - functions don't work
      General and Desktop • opengl mac qt5.7 mac os • • kevin.bensema  

      1
      0
      Votes
      1
      Posts
      1667
      Views

      No one has replied

    • UNSOLVED qt5.5.1 NSWinodow Mac
      General and Desktop • mac qt5.5.1 nswinodow nsview • • oxchen  

      2
      0
      Votes
      2
      Posts
      1188
      Views

      Hi, IIRC, calling winID should give you the NSView and you can call window on it to get the NSWindow contained. Hope it helps.
    • UNSOLVED Crash when opening a SQL Server or Access database (OS X)
      General and Desktop • database mac crash open • • Amott  

      8
      0
      Votes
      8
      Posts
      3399
      Views

      thanks for your help, I have tried to edit my odbc.ini the Mac refused to save the file... That's why I gave up. As an intern, it's my tutor training who said to me to look at a native component. But if I can't find any solution I will come back to the first idea :)
    • SOLVED Qt Assistant on Mac
      Tools • mac assistant • • rbmisc  

      10
      0
      Votes
      10
      Posts
      3428
      Views

      This can be marked as solved.
    • Mac QT Creator: How to add QMenuBar from Design tool?
      Tools • qt creator mac qmenubar tutorials • • DannyatKDA  

      4
      0
      Votes
      4
      Posts
      1805
      Views

      Probably because on OS X the default menu bar is provided by the OS. See QMenuBar's documentation for more details. However I don't know if it's an OS X specific behavior of Qt Creator.
    • SOLVED How to restore hidden QToolbar non-programatically on Mac OS X
      General and Desktop • qt5 mac qtoolbar • • AndyBrice  

      12
      0
      Votes
      12
      Posts
      2906
      Views

      Might not be completely intuitive. That something you can bring to the attention of the NodeBB folks :)
    • UNSOLVED Bug found in macdeployqt
      Tools • mac macdeployqt tools • • mcleary  

      3
      0
      Votes
      3
      Posts
      1232
      Views

      @jsulm You're right. I don't know why I didn't think of that I filled in a bug report regarding this issue here: https://bugreports.qt.io/browse/QTBUG-51728
    • Build mysql plugin android
      General and Desktop • plugin mysql build mac drivers • • Yogi  

      1
      0
      Votes
      1
      Posts
      836
      Views

      No one has replied

    • UNSOLVED New Access control system based on RFID + keypad available.
      Announcements • android ios mac window rfid • • mrdebug  

      2
      0
      Votes
      2
      Posts
      1123
      Views

      Now brochure in English available. http://www.labcsp.com/
    • SOLVED Using QSettings on Mac crashes on launch. Is there a fix?
      Installation and Deployment • mac crash qsettings • • Crossy  

      16
      0
      Votes
      16
      Posts
      4577
      Views

      Good ! Since everything is working now, please mark the thread as solved using the "Topic Tool" button so that other forum users may know a solution has been found :)
    • UNSOLVED Mysql drivers mac
      General and Desktop • mysql mac install driver load • • Yogi  

      2
      0
      Votes
      2
      Posts
      1276
      Views

      Hi and welcome to devnet, What sources did you download ? You have an option in the installer to get the sources that matches your installed Qt. If you take the time to search the forum, you'll find several threads about the MySQL plugin and OS X.
    • SOLVED How to build 32 bit QtWebEngine on Mac
      QtWebEngine • mac 32 bits • • Robbin Kulicki  

      2
      0
      Votes
      2
      Posts
      1202
      Views

      Hi and welcome to devnet, AFAIK from the Chromium project, builds for 32bit Macs have ended by the end of 2014. Snow Leopard was the last version supporting 32 Bit processors.
    • SOLVED Understanding Qt and Mac PKG Setups
      General and Desktop • mac osx macdeployqt setup pkg • • maximo  

      5
      0
      Votes
      5
      Posts
      4068
      Views

      Some added notes from the trenches: Above, I describe a small stub setup that downloads a larger payload. However, if your payload is large from the server, you're going to be looking at the screen stuck at the "Running package scripts..." notice and a jammed progress bar while it continues to download over Curl your larger payload. One solution to that in your preinstall Bash script is to do this: osascript -e 'tell application "System Events" to set visible of process "Installer" to false' That super neat trick hides the installer so that you can show something else. That way, the customer doesn't think your installer just jammed. Then, build yourself a simplistic ObjectiveC application that looks just like that Installer but shows a more active progress bar (use a timer) and then displays a few messages like "Downloading..." and "Finishing download..." and stuff like that. Of course, you can do it in Qt, but even the most minimum Mac-based Qt widget app (not statically compiled) is 8.9MB zipped, whereas in ObjectiveC you can make an app that does the same thing in a mere 32K (unzipped). (Oh, and for you QML die-hards out there, a widget-based app has you topped on file size. I was seeing 12.1MB zipped for something comparable in QML.) Once that Curl has finished, it can then kill the ObjectiveC process and reverse the osascript to get the installer to show you the Finish page. If deploying a large commercial application, and especially if you need to hook up special high-permission items and require script control, then you may not want to use either the .pkg or .dmg formats at all. This is because, psychologically, customers are not likely to want to download a huge honking 200MB+ DMG or PKG file. Instead, they would be more likely to download a smaller file, run it, and then when it says Installing, it does the rest of the download steps. (I know it's the same wait time, but psychology is important in product marketing.) Take a look at Norton's Antivirus for the Mac. (There's a free trial on their website.) They basically made an ObjectiveC / Cocoa application and then zipped it. However, it's a stub setup that's very small. When you run it, it then shows the typical EULA and then starts downloading components from the web, and putting things into the appropriate places.
    • UNSOLVED Can't find installed QT4 when using 'make .... xconfig' command
      Installation and Deployment • mac qt4 kernel qt4.8.4 make xconfig • • Vel.  

      2
      0
      Votes
      2
      Posts
      3191
      Views

      Hi, Please don't post the same question multiple times. Duplicates Closing this one
    • Can't find installed QT4 when using 'make .... xconfig' command
      General and Desktop • mac qmake makefile qt4.8.4 kernel make xconfig • • Vel.  

      12
      0
      Votes
      12
      Posts
      8829
      Views

      Just thought of something: you are trying to cross-compile a linux kernel on OS X. You should rather create a virtual machine using e.g. VirtualBox and do everything directly form Linux. That will save you time.
    • UNSOLVED Show only icons in QMacToolBar
      General and Desktop • mac toolbar mac extras • • jimcad  

      3
      0
      Votes
      3
      Posts
      1033
      Views

      @jsulm Well, texts are not displayed but height of toolbar is too large.
    • SOLVED Set Mac Native Menus at Runtime
      General and Desktop • mac osx menu runtime • • maximo  

      4
      0
      Votes
      4
      Posts
      1410
      Views

      No, that's the native OS X menu so you can't modify it. Again: use the Info.plist file, it's also explained in QMenuBar's documentation
    • SOLVED Alternative to older QDesktopServices::openUrl
      General and Desktop • linux windows mac qdesktopservice • • ashishbansal  

      3
      0
      Votes
      3
      Posts
      1507
      Views

      @raf924 said: @ashishbansal http://doc.qt.io/qt-5/qdesktopservices.html#openUrl it's still available. Why would you think it was not? or did you know it was but wanted an alternative anyway? Sorry, I din't know that it's still available. I was searching for opening a local directory in qt and found somewhere calling it as "deprecated" solution. Anyway Thanks :)