All Questions
161
questions
0
votes
0
answers
104
views
A proper way to init libqgit2 for QtCreator on macOS
I am a newbie to Qt development and trying to set up a dev environment on macOS with libqgit2.
I installed Qt Creator, created a blank project (CMake build system), downloaded libqgit from github and ...
0
votes
0
answers
45
views
Why does updating one QSlider set the value of another QSlider?
#include <QtWidgets>
#include <QtCore>
#include <QtGui>
#include <iostream>
int main(int argc, char *argv[]) {
QApplication app(argc, argv);
{
auto w = ...
0
votes
0
answers
279
views
Would appreciate any assistance after a failed Homebrew command when upgrading qt@5 ... received an SHA256 mismatch error
Attempts to run brew upgrade qt@5 on a Mac running macOS Catalina results in a SHA256 mismatch error:
Expected: ed082ed3cac51158ede4a0f4236eedf99c0981b3451c69f34e116fa8487fa333
Actual: ...
1
vote
1
answer
621
views
OpenGL cannot draw in QtWidget at macOS
I try to use OpenGL combine with Qt in macOS platform, the system version is:Monterey.
because I want to create OpenGL context by myself and split the render thread from UI thread(main thread, that's ...
1
vote
1
answer
460
views
Is Qt QML installed by vcpkg?
I installed Qt via Vcpkg on macOS. Then I pointed QtCreator to that installation, going on:
Preferences
Kits
Qt Versions
Then, on right side click Add and choose qmake executable.
But there I see No ...
2
votes
1
answer
2k
views
Is vcpkg installing debug or release version of the library?
How can I check if vcpkg installed debug/release version of a library?
I'm on macOS Monterey but I guess this applies to other OS also.
I did vcpkg install qt5 and after a few hours it looks like it ...
2
votes
0
answers
3k
views
Qt Creator - No QML utility installed
I'm trying to install Qt from vcpkg.
On macOS Monterey, while trying to add Qt installation from vcpkg on QtCreator it seems to complain about:
No QML utility installed.
And perhaps QT_SYSROOT is ...
0
votes
2
answers
1k
views
Installing Qt via vcpkg on macOS
While trying to install Qt5 on macOS Monterey I got stuck on the following:
% ./vcpkg install qt5
Computing installation plan...
The following ...
3
votes
1
answer
762
views
Build and run a Qt application on macOS via Bazel
I tried to build and run a Qt5 (5.15.2) application on macOS (10.15.7) using Bazel 5.0.0.
Unfortunately, I run into some problems.
The building part seems to work, but not the run part.
I installed ...
0
votes
0
answers
588
views
Bad parameters on attach or create database - CHARACTER SET ISO8859_1 is not defined
I know the problem is not recent, but I've tried all solutions I found and the problem persists. I'm on Mac OS Big sur and I've a Qt 5.15 application. On my dev machine, all works fine, but when I ...
0
votes
0
answers
82
views
Qt: Clear previous drawings on repaint
I have a totally transparent, top-level, sreen-sized widget, which shows some text waterwarks on macOS. I need to update the system time text on one-minutes intervals. When I call the repaint method, ...
1
vote
1
answer
1k
views
PCL:NSWindow drag regions should only be invalidated on the Main Thread
I am using PCL to run a test.
Here is my CMakeLists.txt:
cmake_minimum_required(VERSION 3.2)
project(pcl_test)
set(Boost_LIBRARY_DIR /opt/homebrew/lib)
set(Qt5_DIR /Users/kevislin/Qt/5.15.0/clang_64/...
8
votes
1
answer
1k
views
Mac OS X (Big Sur) capybara-webkit installation problem
I have a problem with installation of capybara-webkit gem. Here is part of my test group in gemfile:
group :test do
gem 'capybara-webkit'
end
And when I write 'bundle' on console - it gives me out
...
-1
votes
1
answer
370
views
Can not install Omnetpp to M1 Big Surr
I can not install OMNET++ to my m1 Mac because configure script can't install qt libraries.
I get this classic error:
configure: error: Cannot build Qt apps, probably due to missing or too old Qt ...
1
vote
0
answers
168
views
How to make QWidget get input method focus on Mac
I am using QWidget to create a mirrored window of my mobile phones on MacOS.
I'm using setAttribute(Qt::WA_InputMethodEnabled, true); so that my Qwidget can get the text input from Sogou input method ...