Qt5 on a pi4 Python
Super dumb question i feel defeated, Im using Qt5 with Qtgraph and I'm trying to get my results towards a text browser window I have displayed in my GUI. Is it possible or to even size a graph window in the GUI?
https://redd.it/1o0yk0o
@qt_reddit
Super dumb question i feel defeated, Im using Qt5 with Qtgraph and I'm trying to get my results towards a text browser window I have displayed in my GUI. Is it possible or to even size a graph window in the GUI?
https://redd.it/1o0yk0o
@qt_reddit
Reddit
From the QtFramework community on Reddit
Explore this post and more from the QtFramework community
Any good open-source projects a beginner can contribute to?
Hello community,
I am new to Qt. I want to learn through contributing to open source Qt projects. Can you tell me where can I find some? Thanks
I have found some in Github but it seems they are not active.
https://redd.it/1o107hc
@qt_reddit
Hello community,
I am new to Qt. I want to learn through contributing to open source Qt projects. Can you tell me where can I find some? Thanks
I have found some in Github but it seems they are not active.
https://redd.it/1o107hc
@qt_reddit
Reddit
From the QtFramework community on Reddit
Explore this post and more from the QtFramework community
How do I use Qt as a dependency with custom OGL/Vk contexts
Hey everyone,
This must have already been asked but I couldn't find anything relevant to my situation (but maybe I missed it or searched the wrong words) so here is my situation :
I've been working on a toy engine (CODE HERE) for a while now and I feel like I need to finally add a GUI.
I've got years of professional experience with Qt, but I always used it as a framework for the projects I worked on. The situation here is a bit different since I already have a framework and would like to use Qt as sub modules/libs like how I currently use SDL to handle windows and various events.
Right now I manually create my OGL contexts using WGL/Win32 apis on Windows and GLX/X11 apis on Linux and I'm unsure how to handle it since I use multiple contexts accross my engine (a headless one for the Renderer, another one for occlusion queries and a final one for "swapchain" management).
I would be very grateful if someone could nudge me in the right direction because I don't really know how to connect dots here 😅
https://redd.it/1o17pk3
@qt_reddit
Hey everyone,
This must have already been asked but I couldn't find anything relevant to my situation (but maybe I missed it or searched the wrong words) so here is my situation :
I've been working on a toy engine (CODE HERE) for a while now and I feel like I need to finally add a GUI.
I've got years of professional experience with Qt, but I always used it as a framework for the projects I worked on. The situation here is a bit different since I already have a framework and would like to use Qt as sub modules/libs like how I currently use SDL to handle windows and various events.
Right now I manually create my OGL contexts using WGL/Win32 apis on Windows and GLX/X11 apis on Linux and I'm unsure how to handle it since I use multiple contexts accross my engine (a headless one for the Renderer, another one for occlusion queries and a final one for "swapchain" management).
I would be very grateful if someone could nudge me in the right direction because I don't really know how to connect dots here 😅
https://redd.it/1o17pk3
@qt_reddit
GitHub
GitHub - Gpinchon/MSG: MSG (FUIYOH!) stands for Modular Scene-Graph
MSG (FUIYOH!) stands for Modular Scene-Graph. Contribute to Gpinchon/MSG development by creating an account on GitHub.
Material theme Qt5 to Qt6 port?
Has anybody got any experience of maintaining the look and feel of Material theme in Qt6, with how it used to look in Qt5? I.e. in 6 some of the button shapes changed to be more rounded for example.
If so, what approach did you take?
Im asking about QML if it makes any difference.
I had a thought to copy the qml/Material folder from the install directory, but not sure whether that would work without issue.
https://redd.it/1o1h8u3
@qt_reddit
Has anybody got any experience of maintaining the look and feel of Material theme in Qt6, with how it used to look in Qt5? I.e. in 6 some of the button shapes changed to be more rounded for example.
If so, what approach did you take?
Im asking about QML if it makes any difference.
I had a thought to copy the qml/Material folder from the install directory, but not sure whether that would work without issue.
https://redd.it/1o1h8u3
@qt_reddit
Reddit
From the QtFramework community on Reddit
Explore this post and more from the QtFramework community
Qt and QML? whats the difference
Hey, I am new to c++ and I want to learn about how to build things in c++, I encountered QT and QML, but I am not able to get the whole picture of where qt, qml fits, and then there is other things like qtQuick, qt widgets. Could you mention the overview of what all qt as a framework consists of and like what all can be build with it with a analogy of, say, MERN or java + spring.
https://redd.it/1o1yn10
@qt_reddit
Hey, I am new to c++ and I want to learn about how to build things in c++, I encountered QT and QML, but I am not able to get the whole picture of where qt, qml fits, and then there is other things like qtQuick, qt widgets. Could you mention the overview of what all qt as a framework consists of and like what all can be build with it with a analogy of, say, MERN or java + spring.
https://redd.it/1o1yn10
@qt_reddit
Reddit
From the QtFramework community on Reddit
Explore this post and more from the QtFramework community
Resources for QML and QT
Could you suggest me some good QML & QT resources on youtube or udemy
https://redd.it/1o214gh
@qt_reddit
Could you suggest me some good QML & QT resources on youtube or udemy
https://redd.it/1o214gh
@qt_reddit
Reddit
From the QtFramework community on Reddit
Explore this post and more from the QtFramework community
This media is not supported in your browser
VIEW IN TELEGRAM
Hospital Management Project Next Steps - Your Input Before Proceeding!
https://redd.it/1o2gy8q
@qt_reddit
https://redd.it/1o2gy8q
@qt_reddit
Examples projects links are down for websocket examples
I want to know how to handle the life time of a core application like a websocket client and see an example of how to do it by looking the official chat app example but the page is down, where I could find examples of how to use that module? my goal is to make it co exist with my client GUI that is made with glfw and ImGui and give it his own thread and find a way to share resource to pass the user input to the client and send a message to my test server, is there something that clarify this well?
https://redd.it/1o2hint
@qt_reddit
I want to know how to handle the life time of a core application like a websocket client and see an example of how to do it by looking the official chat app example but the page is down, where I could find examples of how to use that module? my goal is to make it co exist with my client GUI that is made with glfw and ImGui and give it his own thread and find a way to share resource to pass the user input to the client and send a message to my test server, is there something that clarify this well?
https://redd.it/1o2hint
@qt_reddit
Reddit
From the QtFramework community on Reddit
Explore this post and more from the QtFramework community
Looking for help: CNC G-Code sender project
https://preview.redd.it/iyj7ru2ee5uf1.png?width=1401&format=png&auto=webp&s=1ecb301fdbf67c31e978637e829f610c8e918c71
I’m working on G-Pilot (formerly Candle), a CNC G-Code sender project. The code was very old and outdated, so I want to improve its architecture, update it to the latest Qt, and add some useful features.
https://github.com/etet100/G-Pilot-Formerly-Candle
I’m looking for someone who can help with development. Any help, ideas, or contributions are welcome!
https://redd.it/1o2hbiu
@qt_reddit
https://preview.redd.it/iyj7ru2ee5uf1.png?width=1401&format=png&auto=webp&s=1ecb301fdbf67c31e978637e829f610c8e918c71
I’m working on G-Pilot (formerly Candle), a CNC G-Code sender project. The code was very old and outdated, so I want to improve its architecture, update it to the latest Qt, and add some useful features.
https://github.com/etet100/G-Pilot-Formerly-Candle
I’m looking for someone who can help with development. Any help, ideas, or contributions are welcome!
https://redd.it/1o2hbiu
@qt_reddit
Qt::GuiPrivate: target not found
So I'm trying to compile Krita from source, but I'm getting the error:
CMake Error at plugins/platforms/wayland/CMakeLists.txt:80 (target_link_libraries):
Target "kritaplatformpluginwayland" links to:
Qt::GuiPrivate
but the target was not found. Possible reasons include:
* There is a typo in the target name.
* A find_package call is missing for an IMPORTED target.
* An ALIAS target is missing.
I can't fix it. I've tried [steps on here](https://doc.qt.io/qt-6/qtguiprivate-module.html), but that doesn't fix it.
I don't know what libraries I'm missing. I *should* have everything, but I'm just getting this error.
System info:
Operating System: Arch Linux
KDE Plasma Version: 6.4.5
KDE Frameworks Version: 6.18.0
Qt Version: 6.10.0
Kernel Version: 6.17.1-2-cachyos (64-bit)
Graphics Platform: Wayland
I can send all the installed QT packages if needed.
https://redd.it/1o42h63
@qt_reddit
So I'm trying to compile Krita from source, but I'm getting the error:
CMake Error at plugins/platforms/wayland/CMakeLists.txt:80 (target_link_libraries):
Target "kritaplatformpluginwayland" links to:
Qt::GuiPrivate
but the target was not found. Possible reasons include:
* There is a typo in the target name.
* A find_package call is missing for an IMPORTED target.
* An ALIAS target is missing.
I can't fix it. I've tried [steps on here](https://doc.qt.io/qt-6/qtguiprivate-module.html), but that doesn't fix it.
I don't know what libraries I'm missing. I *should* have everything, but I'm just getting this error.
System info:
Operating System: Arch Linux
KDE Plasma Version: 6.4.5
KDE Frameworks Version: 6.18.0
Qt Version: 6.10.0
Kernel Version: 6.17.1-2-cachyos (64-bit)
Graphics Platform: Wayland
I can send all the installed QT packages if needed.
https://redd.it/1o42h63
@qt_reddit
doc.qt.io
Qt GUI Private C++ Classes | Qt GUI | Qt 6.10.0
Provides access to private GUI functionality.
QodeAssist v0.7.0 Released - Tool Calling
Tools demo
The most interesting thing about the latest update is that I added tool/function calling support, along with several basic tools for immediate use. In future versions, I'll be expanding them to cover more use cases. This will also allow us to release more frequently.
If you are interested, you can find out more about the new version or project here: https://github.com/Palm1r/QodeAssist/releases/tag/v0.7.0
https://redd.it/1o4oegu
@qt_reddit
Tools demo
The most interesting thing about the latest update is that I added tool/function calling support, along with several basic tools for immediate use. In future versions, I'll be expanding them to cover more use cases. This will also allow us to release more frequently.
If you are interested, you can find out more about the new version or project here: https://github.com/Palm1r/QodeAssist/releases/tag/v0.7.0
https://redd.it/1o4oegu
@qt_reddit
Reddit
From the QtFramework community on Reddit: QodeAssist v0.7.0 Released - Tool Calling
Explore this post and more from the QtFramework community
QWidges 3rd party projects
In a previous thread, I mentioned that QWidgets's upstream development is "stalled". I mentioned that some 3rd parties are needed. Here is a list of projects I use/follow. If anyone has cool projects to share - do this.
Code I found online:
1. Flat tab widget, with cool animations: https://github.com/timschneeb/FlatTabWidget
2. Cool text editor, based on KTextEditor's highlighting: https://github.com/Wing-summer/WingCodeEdit
3. Animated slider: https://github.com/Wing-summer/WingCodeEdit
4. Progress indicator: https://github.com/epasveer/QProgressIndicator
5. Window title: https://github.com/stdware/qwindowkit
6. Widgets on window titles: https://github.com/antonypro/QGoodWindow
7. Adwaita widgets style: https://github.com/Qt-Widgets/adwaita-qt-style-qstyle (unmaintained fork?)
8. Image viewer widget: https://github.com/palacaze/image-viewer
9. Hex viewer widget: https://github.com/Dax89/QHexView
10. API to get your application notified about updates: https://github.com/alex-spataru/QSimpleUpdater
My own code:
1. Click Me Load MoreWidget, progress line (not bar!) - https://github.com/diegoiast/qtedit4/blob/main/src/widgets/Click Me Load MoreWidget.hpp
2. QLineEdit with history (global history, shared between all editors): https://github.com/diegoiast/qtedit4/blob/main/src/widgets/HistoryLineEdit.h
3. SplitTabwidget, like QTabWidget, but can also split the tabs horizontally, and move tabs between splits: https://github.com/diegoiast/qtedit4/blob/main/src/widgets/SplitTabWidget.h
4. Command palette widget, like SublimeText/VSCode: https://github.com/diegoiast/command-palette-widget
5. Creating config from code (might fork this into anotehr sub project): https://github.com/diegoiast/qmdilib/blob/main/demos/demo3/main3.cpp
6. Using freedesktop icon themes in your app, https://github.com/diegoiast/qtedit4/blob/main/cmake/icons-breeze.cmake (again, might fork this into a 3rd party project to reduce friction).
What am I looking for:
1. A bred crumb widget, for displaying files.
2. A good text editor widget (working on one, WingCodeEdit looks nice), with spelling check (optional?)
3. A terminal widget with windows support, MIT, LGPL.
https://redd.it/1o5epdx
@qt_reddit
In a previous thread, I mentioned that QWidgets's upstream development is "stalled". I mentioned that some 3rd parties are needed. Here is a list of projects I use/follow. If anyone has cool projects to share - do this.
Code I found online:
1. Flat tab widget, with cool animations: https://github.com/timschneeb/FlatTabWidget
2. Cool text editor, based on KTextEditor's highlighting: https://github.com/Wing-summer/WingCodeEdit
3. Animated slider: https://github.com/Wing-summer/WingCodeEdit
4. Progress indicator: https://github.com/epasveer/QProgressIndicator
5. Window title: https://github.com/stdware/qwindowkit
6. Widgets on window titles: https://github.com/antonypro/QGoodWindow
7. Adwaita widgets style: https://github.com/Qt-Widgets/adwaita-qt-style-qstyle (unmaintained fork?)
8. Image viewer widget: https://github.com/palacaze/image-viewer
9. Hex viewer widget: https://github.com/Dax89/QHexView
10. API to get your application notified about updates: https://github.com/alex-spataru/QSimpleUpdater
My own code:
1. Click Me Load MoreWidget, progress line (not bar!) - https://github.com/diegoiast/qtedit4/blob/main/src/widgets/Click Me Load MoreWidget.hpp
2. QLineEdit with history (global history, shared between all editors): https://github.com/diegoiast/qtedit4/blob/main/src/widgets/HistoryLineEdit.h
3. SplitTabwidget, like QTabWidget, but can also split the tabs horizontally, and move tabs between splits: https://github.com/diegoiast/qtedit4/blob/main/src/widgets/SplitTabWidget.h
4. Command palette widget, like SublimeText/VSCode: https://github.com/diegoiast/command-palette-widget
5. Creating config from code (might fork this into anotehr sub project): https://github.com/diegoiast/qmdilib/blob/main/demos/demo3/main3.cpp
6. Using freedesktop icon themes in your app, https://github.com/diegoiast/qtedit4/blob/main/cmake/icons-breeze.cmake (again, might fork this into a 3rd party project to reduce friction).
What am I looking for:
1. A bred crumb widget, for displaying files.
2. A good text editor widget (working on one, WingCodeEdit looks nice), with spelling check (optional?)
3. A terminal widget with windows support, MIT, LGPL.
https://redd.it/1o5epdx
@qt_reddit
GitHub
GitHub - timschneeb/FlatTabWidget: Animated minimalist tab widget for Qt
Animated minimalist tab widget for Qt. Contribute to timschneeb/FlatTabWidget development by creating an account on GitHub.
How do I render a "raw" OpenGL Texture onto a QML Element ?
Hey everyone,
Here is the context: I have a toy engine that manages its own context. I would like to create a binding for Qt by writing the engine's render buffer onto a QML Element (so I can create multiple views of the same scene for instance).
I already found how to create a custom OpenGL context for a
I found
https://redd.it/1o6flkl
@qt_reddit
Hey everyone,
Here is the context: I have a toy engine that manages its own context. I would like to create a binding for Qt by writing the engine's render buffer onto a QML Element (so I can create multiple views of the same scene for instance).
I already found how to create a custom OpenGL context for a
QQuickWindow and share lists with the Engine's context but I'm not sure how to connect the dots from here.I found
QSGTexture but I don't really understand how to use it. QRhi seems quite interesting too but I don't really understand how to pass the base window's OpenGL context to the QQuickRhiItemhttps://redd.it/1o6flkl
@qt_reddit
Reddit
From the QtFramework community on Reddit
Explore this post and more from the QtFramework community
https://code.qt.io/ is not accessible
Is it only me or https://code.qt.io/ is not accessible?
https://redd.it/1o6ht3o
@qt_reddit
Is it only me or https://code.qt.io/ is not accessible?
https://redd.it/1o6ht3o
@qt_reddit
Custom QOpenGLContext = "Cannot make QOpenGLContext current in a different thread"
Using a custom created
Here is the basic code to set the custom OpenGL context when creating the QQuickWindow
Window::Window()
: context(new QOpenGLContext(this))
{
setGraphicsApi(QSGRendererInterface::OpenGL);
QASSERT(context->create());
setSurfaceType(QWindow::OpenGLSurface);
setGraphicsDevice(QQuickGraphicsDevice::fromOpenGLContext(context.get()));
}
I feel like I'm missing something but I don't really know what, I've never played around with
https://redd.it/1o6nkh1
@qt_reddit
Using a custom created
QOpenGLContext triggers a fatal error inside QSGRenderThread on QQuickWindow::exposeEvent here. Ignoring this causes no issue and I could just set AA_DontCheckOpenGLContextThreadAffinity but I don't think I should.Here is the basic code to set the custom OpenGL context when creating the QQuickWindow
Window::Window()
: context(new QOpenGLContext(this))
{
setGraphicsApi(QSGRendererInterface::OpenGL);
QASSERT(context->create());
setSurfaceType(QWindow::OpenGLSurface);
setGraphicsDevice(QQuickGraphicsDevice::fromOpenGLContext(context.get()));
}
I feel like I'm missing something but I don't really know what, I've never played around with
QOpenGLContexthttps://redd.it/1o6nkh1
@qt_reddit
GitHub
qtbase/src/gui/kernel/qopenglcontext.cpp at f9b83106255aa97d0a3ffc105fb17676d2a72b78 · qt/qtbase
Qt Base (Core, Gui, Widgets, Network, ...). Contribute to qt/qtbase development by creating an account on GitHub.
This media is not supported in your browser
VIEW IN TELEGRAM
My Qt Creator crashes as soon as I attempt to open the design function
https://redd.it/1o6o891
@qt_reddit
https://redd.it/1o6o891
@qt_reddit
Tasket++ — simple Windows tool to automate user actions. Free and open source.
https://redd.it/1o6wcr3
@qt_reddit
https://redd.it/1o6wcr3
@qt_reddit
Reddit
From the QtFramework community on Reddit: Tasket++ — simple Windows tool to automate user actions. Free and open source.
Explore this post and more from the QtFramework community
