-
Notifications
You must be signed in to change notification settings - Fork 190
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Mouse click failed in QWidget. #111
Comments
You embed the VNCViewer in a qt window and have problems with the mouse. I know some company embed it ( don't know if they use MFC,Radstudio, or Qt? I'm not a Qt expert sorry. |
@jose94752: Can you look it? |
We need to configure cmake for Qt and work too on a UltraVNC Qt From Scratch environment. Actually can't compile the original source code with Visual Studio 2022 and cmake from Visual Studio 2022 Developer Command Prompt v17.11.2 And From Qt Creator I have errors like "mingw32-make[1]: *** No rule to make target '/vncviewer/AboutBoxQt.ui', needed by 'ui_AboutBoxQt.h'. Stop." You can see where I am on my github the fork environment UltraVNC branche QtCommunityTests |
@bernhardu: Can you look the @jose94752 error? |
Just for the record - I assume the official way to build is what Rudi is using, and this currently are the VS solution files, as stated at the bottom of the main README.md. Lines 105 to 106 in 4ba27a2
The cmake files are there to be able to use some other compilers, or to build on non-windows systems. When the cmake readme got written, I was not aware that vcpkg is also delivered by Visual Studio - therefore the readme contains the manual clone of it - on the next iteration I should try to document the Visual Studio supplied vcpkg and it should configure without needing these two variables ... The cmake readme shows currently this three lines, so please try in your example Lines 99 to 102 in 4ba27a2
|
@bernhardu: Thanks I have understood some install errors I have doing. I push the text updated files on my github the fork environment UltraVNC branche QtCommunityTests and the will work on the new error later. |
I am not sure if I understand you right. |
No it's configuration problem with Visual Studio 2022, I want to use for test existing code. Once the build work with VS 2022 I will configure Qt Creator. Actually I try to fix Zlib error and co with a CMakeSettings.json file. |
New start from the beginning with clone everything's but Visual Studio Community 2022 error still active for me on my computer. |
Visual studio use vcpkg and all missing libs should be in it. |
The file .pro Qt Creator file of the project need changes to work. And the path like @USTC-Wang Is your's .pro 'QT=' line have widgets on it ? Edit: Actually after an update the main of my fork local on my computer, I have the similar error Edit2: Check that on your system (I have just reinstall all of Qt with version 6.7.3 inside). |
I am using qt's createWindowContainer to put ultravnc's window in qwidget, but after that, the mouse click doesn't work, only after clicking on "switch monitor" or "full screen" in the toolbar. I don't seem to see a similar problem on the web. The environment: windows 10(1909), ultravnc Release 1.4.3.1.
The text was updated successfully, but these errors were encountered: