7/9/2023 0 Comments Qt for mac sierra![]() (This seems to have installed qt5 qt5-qtwebkit for me but it built without problem, so the above comment about Qt 5.5 being the last supported version does not appear to apply anymore. Sudo port install qt5 qt5-qtwebkit # It's not qt5-mac anymore. Run this command: `sudo xcode-select -switch /Applications/Xcode.app/Contents/Developer` It can also be done when bundle updating: QMAKE='$(brew -prefix bundle update capybara-webkit Macports Install qt5 with macports. ![]() You may need to confirm the license agreement by running /usr/bin/xcodebuild. I’m wanting to get back into playing around with QT, but am not sure if there is anything I should clean out / uninstall before attempting to install 5.11 and the newest creator. After running this command you should get the following output: $ which qmake /usr/local/bin/qmake If it doesn't work you can try to create link to the binary folder with ln -s command: ln -s /usr/local/bin/qmake If you don't want to modify your PATH variable for some reason, then you can also set the qmake path when running gem install capybara-webkit: QMAKE='$(brew -prefix gem install capybara-webkit NOTE: If you get error: Project ERROR: Xcode not set up properly. I’ve had an older version of QT (open-source version) installed for a year or more, but haven’t used it much. The solution is to force Homebrew to symlink those binaries into your /usr/local/bin directory: brew link -force Restart your terminal. Echo 'export PATH='$(brew -prefix ' /.bashrc Alternate Solution (Not recommended) This will break on brew upgrade.
0 Comments
Leave a Reply. |