All Questions
2,217
questions
0
votes
0
answers
42
views
Unexpected rounded corners in Qt Frameless Widget
Unexpected rounded corners in Qt Frameless Widget
I use Qt and Windows API to create a window with a custom title bar, and I want this window to have some of the effects of a Windows window (maximize, ...
-1
votes
0
answers
80
views
Why is QFileDialog::getExistingDirectory freezing?
1.Here’s the situation for the question: I use QFileDialog::getExistingDirectory to open a file manager window to select a directory. This works fine on my computer and those of the people around me, ...
1
vote
0
answers
37
views
setWindowIcon() in Qt6 fails only when running from one specific folder
I have a Qt6 application called acquisition that fails to set the window icon, but only when it's run from its installation directory in %LocalAppData%\Programs\acquisition.
If I copy the program ...
1
vote
1
answer
59
views
Why is nativeEvent not registering keystrokes?
I've set up my application to print a debug statement when clicking on F8 or F7 on my keyboard. However, nativeEvent doesn't seem to pick up on any keyboard input, why is this?
mainwindow.cpp snippet:
...
0
votes
0
answers
36
views
Issues Installing "BiblioteQ" (GitHub Program for library and archival management) using Qt compiler on Windows?
I'm relatively inexperienced with C++ and compilers, but I'm doing my best to learn so I can install an archival/library management program for home use.
The program is called BiblioteQ and is hosted ...
0
votes
0
answers
45
views
How to compile Qt lupdate with clang-based parser via MSVC?
I work on Windows 11 with CMake 3.29 and MSVC from Visual Studio 2022.
I want to compile Qt 6.7 with LLVM 18. The Qt Linguist TS-Update Tool lupdate should support the clang-based parser. I compile Qt ...
0
votes
0
answers
68
views
Qt6 Undefined reference to `vtable for [my class here]` on Windows Clion [duplicate]
I have been trying for a few days to get to Qt and I'm honestly having a lot of troubles, even putting files in directories/compiling it is pretty mysterious to me...
I am currently facing a problem ...
0
votes
1
answer
85
views
How and what to include in VSCode for Qt6, Qt6.7?
I have full working project for QtCreator and I try to run it in VSCode. There is configuration inside the project the c_cpp_properties.json with following include paths:
"includePath": [
...
0
votes
1
answer
36
views
In Qt, how to prevent the transparent property of the parent window from affecting the child windows
I am using Qt/C++ for program development.
I used setAttribute(Qt::WA_TranslucentBackground); to achieve the transparency of the window.
However, the backgrounds of all child windows have also become ...
0
votes
0
answers
38
views
QLIstView with interactive custom widgets
I'm developing a list using QLIstView in C++/Qt, based on the view/model technology.
I wish each item in the list to be a custom widget (derived from QWidget), thereby better displaying ...
0
votes
0
answers
48
views
How to make qt regex avoid matching already captured values?
I have a very big log file that contains some lines in this format:
2024-04-14 04:56:56.714-0300 24180 20660 UI at64_1 [Ready] W: Retrying to obtain clipboard.
2024-04-14 04:56:56.714-0300 27268 ...
0
votes
0
answers
49
views
exe_common.inl crash on my proxmox windows
Our team is developping a GUI software, and we recently acquired a dedicated server to automatically compile, test and deploy our software. However, while the compilation goes well, we're unable to ...
0
votes
0
answers
24
views
Show Test Results of QtTest in Jenkins
I have Qt 5.12.12 and Jenkins 2.440.1 on Windows.
In my Jenkinsfile I have:
stage('Test') {
steps {
echo 'Testing...'
bat 'mingw32-make -f Makefile check'
...
0
votes
0
answers
72
views
Qt C++ Desktop Widget: Keeping Screen Warmness Effects on Entire Screen
I am developing a desktop application on Qt and I am trying to click a button that increases your screen warmness and then reset it back to normal when you click the button again. It works while the ...
0
votes
0
answers
38
views
emsdk with Qt creator. Problem with PATH and compile program
Hello my problem is with instalation emsdk on qt creator on Windows.
I did
> git clone https://github.com/emscripten-core/emsdk.git
> emsdk install 3.1.25 # (for my Qt 6.5.3)
> emsdk activate ...