Skip to content
Qt 6.11 is out! See what's new in the release blog
  • 145k Topics
    724k Posts
    L
    Hey guys, I want to add a widget into my mainwindow UI where the user can drag the control points of a cubic bezier curve to reshape it how they see fit. I envision that this would involve some kind of QPainterPath instance tied with some mouse event logic. And I know that QPainterPath has a cubicTo function which creates a cubic bezier curve where you input the end point and control points, so I'm wondering if I could link up the mouse event logic to those control points to move the bezier around. As you can see I have a basic idea, but I have hit a wall with the little details and am having trouble understanding how all of this connects and how to properly implement this. If anyone can offer a solution for how to accomplish this, I would appreciate it dearly. I don't really have any code to share because I haven't been able to get the QPainterPath to work with my UI :( Any guidance would be greatly appreciated. ~Luke
  • Jobs, project showcases, announcements - anything that isn't directly development
    4k 23k
    4k Topics
    23k Posts
    V
    Very nice, will use the Spinner example at https://uglymike17.github.io/Basic256-Docs/docs/samples/gamesspinner today in our weekly cookie lottery :)
  • Everything related to designing and design tools

    131 396
    131 Topics
    396 Posts
    SGaistS
    Hi, I think the wiki has the starting point Hope it helps
  • Everything related to the Software Quality Tools

    95 261
    95 Topics
    261 Posts
    T
    Hi, just getting into Squish and I was wondering if anybody has any more advanced documentation or projects of MBT setups? I am trying to understand the limitations and possible application in my use case. I am unsure mostly of two things: Model generation through imports of existing graph files etc. automated path (test case) generation mostly if possible at all (found conflicting info) and if so how well it works. Any help, experience or pointers appreciated! thanks tim
  • Everything related to learning Qt.

    401 2k
    401 Topics
    2k Posts
    S
    [image: 286e3dad-f335-48d7-931b-362b4cb89ef4.png] Here is my business card solution image.
  • 2k Topics
    13k Posts
    L
    Qt 6.12 Beta 2 Released with HarmonyOS binaries - first time in history! https://lists.qt-project.org/pipermail/development/2026-July/047285.html https://wiki.qt.io/Qt_for_HarmonyOS_development_with_6.12.0_Beta2 #Qt #HarmonyOS #OpenHarmony #Huawei
  • 4k Topics
    18k Posts
    J
    どのプラットフォームでアプリを作っていますか。 もしWindowsなら、簡単にできりますが、macOSやらUbuntu/ Gnomeやら上ではあまり簡単ではありません。 凡そ、実行ファイルのアイコンなら、Qt自身は関係があまりありません。実は、Windowsなら、*.rcファイルの仕上げの後、Cmakeに「qt_add_executable(App ... app.rc」と書いて、本物のapp.rcの中で、「IDI_ICON1 ICON DISCARDABLE "app_icon.ico"」と書いたらできそうです。macOSの方も似ているが、「.icns」と「Info.plist」の整備はWindowsよりめっちゃ面倒のそうであってしまうといいます。 もちろん、cmakeファイルの中にはプラットフォームを分類するために以下のcodeを加えなければなりません: if (${CMAKE_SYSTEM_NAME STREQUAL "Windows") set(Windows_Resources "...") elseif (... "Darwin") # macOSになる set(MacOS_Bundle "...") ...
  • This is where all the posts related to the Qt web services go. Including severe sillyness.
    1k 10k
    1k Topics
    10k Posts
    SGaistS
    Ok, akismet triggering is not always clear. Beside this issue, what was your question about ?