Skip to content
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

Facing issues on Windows 10, Qt 5.12.1 MSVC 2015 & MSVC 2017 #7

Open
shujaatak opened this issue May 26, 2019 · 11 comments
Open

Facing issues on Windows 10, Qt 5.12.1 MSVC 2015 & MSVC 2017 #7

shujaatak opened this issue May 26, 2019 · 11 comments

Comments

@shujaatak
Copy link

shujaatak commented May 26, 2019

I made no changes to the source code and I get the result shown in the below screenshot. I noticed that I can drag the window by holding mouse on the black bar, the buttons events occur in the black location where the buttons should be located however the icons are displaced below it.

Frameless

@barry-ran
Copy link

same question , you fix it ?

@shujaatak
Copy link
Author

same question , you fix it ?

Yet not.

@jaredtao
Copy link

i use Qt5.12.4 msvc 2017, Win10 1903, no this question.
1

@barry-ran
Copy link

barry-ran commented Jun 23, 2019

good, Qt5.12.2 ,msvc 2017, Win10is also perfect.
QT should have solved this problem

@DarinLi
Copy link

DarinLi commented Oct 5, 2019

it's not good , i use Qt5.13.1 msvc 2017, Win10 1903, i have the same problem.

@ericzh86
Copy link
Contributor

sorry, i can't fix this, it's caused by windows opengl driver. it has compatibility problem with windows WS_THICKFRAME flag. it happened in Windows 7. it's first time i heard in Windows 10. it's not about me, or Qt, it's problem of Windows.

@barry-ran
Copy link

I've tested that the same computer, the same environment, just changing the QT version will solve the problem, so will it not be the problem of OpenGL?

@ericzh86
Copy link
Contributor

I've tested that the same computer, the same environment, just changing the QT version will solve the problem, so will it not be the problem of OpenGL?

it's not good in 5.13.x? Which one is correct, 5.12.x or 5.13.x?

@barry-ran
Copy link

I've tested that the same computer, the same environment, just changing the QT version will solve the problem, so will it not be the problem of OpenGL?

it's not good in 5.13.x? Which one is correct, 5.12.x or 5.13.x?

win10, vs2017, Qt5.12.1 is not good, Qt5.12.2 is correct

@ericzh86
Copy link
Contributor

I've tested that the same computer, the same environment, just changing the QT version will solve the problem, so will it not be the problem of OpenGL?

it's not good in 5.13.x? Which one is correct, 5.12.x or 5.13.x?

win10, vs2017, Qt5.12.1 is not good, Qt5.12.2 is correct

it looks like i have to test every single version in every operating system... orz... orz... orz...

@lvzhaobing
Copy link

lvzhaobing commented Feb 3, 2020

在main 函数设置如下属性:
QApplication::setAttribute(Qt::AA_UseOpenGLES);
可以临时解决这个OpenGL 渲染错位的问题,应该是比 Intel(R) HD Graphics 5000 更早的集成显卡会出现黑色边框。
运行环境:Qt5.14.1 + VS2019 + Windows10 1909 +Intel(R) HD Graphics 4600
参考:https://bugreports.qt.io/browse/QTBUG-40485?focusedCommentId=376505&page=com.atlassian.jira.plugin.system.issuetabpanels%3Acomment-tabpanel#comment-376505

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants