Skip to content

General and Desktop

This is where all the desktop OS and general Qt questions belong.
83.6k Topics 457.8k Posts
  • How to draw pixmap with same anti alias quality as QPushButton::icon?

    Solved
    19
    0 Votes
    19 Posts
    4k Views
    M
    @patrickkidd what exactly have you found?
  • touch does not work sometimes while mouse press works fine.

    Unsolved
    7
    0 Votes
    7 Posts
    569 Views
    JoeCFDJ
    @SGaist It is a general practice to use touch screen in this field. Not yet. I will take a look at it. Thank you for your advice.
  • QTextEdit does not apply css to html table

    Unsolved
    2
    0 Votes
    2 Posts
    573 Views
    jeremy_kJ
    @apalomer said in QTextEdit does not apply css to html table: ![alt text](image url)I am using QTextEdit to display some markdown content. I am using QT version 5 and cannot move to 6 to use QTextEdit.setMarkdown. QTextEdit.setMarkdown was introduced in Qt 5.14. If you're using something older and have the option to upgrade, the 5.15 series is worth a look. Maybe it will help, or maybe it will introduce a new problem. As you can appreciate, I can add a CSS style to the document (h1 and h2) in the QTextEdit. However, the table part of the CSS is not being applied (there is no border). According to Qt documentation the table properties that I am using are supported. Any idea on what can I do to apply the table style? QTextDocument's html and css capability is pretty limited, and frequently involves a conversion from the input to what is actually used by the widget. Look at the html being generated from the markdown, and at the html that QTextEdit.toHtml() returns. There may be a more specific css rule that is automatically applied.
  • QSharedPointer shared across QThread

    Solved
    3
    0 Votes
    3 Posts
    605 Views
    P
    @Christian-Ehrlicher I see, so I figure I have two options here: stop using the QThread, but that is not my favored option because I would like the device scanning to happen reliably even when the GUI thread was frozen (that was the reason why I did this move in the first place). I could also create the QThread later move the Device to the "main" thread before it is passed to DeviceHandler::detected. Trying this out it seems to work, and it matches "moving the ownership" of the Device instance to the rest of the app. Marking this as solved, thank you for your help!
  • MQTT TLS find cipher and protocol used

    Solved
    2
    0 Votes
    2 Posts
    218 Views
    G
    OK it wasn't too difficult in the end, you can use the transport() function from QMqttClient and cast it to a QSslSocket pointer as long as the transport type is SecureSocket. QIODevice* d = m_client->transport(); if (d) { QSslSocket* s = dynamic_cast<QSslSocket*>(d); if (s) { qDebug() << "Protocol:" << s->protocol(); qDebug() << "Session Cipher:" << s->sessionCipher(); qDebug() << "Session Protocol:" << s->sessionProtocol(); } }
  • QGuiApplication::installTranslator has no effect

    Solved
    3
    0 Votes
    3 Posts
    294 Views
    C
    @jsulm Thank you, I didn't have that in mind at all. I extracted it into a function that I was calling from main, but I have just seen that the documentation says that it doesnt take ownership of it, so it indeed goes out of scope. Moving it back into the main function fixes it!
  • run Qt example demo'ToDoList'+add ExclusiveGroup component failedfail

    Unsolved
    1
    0 Votes
    1 Posts
    109 Views
    No one has replied
  • QEventLoop maximum queue size?

    Unsolved
    3
    0 Votes
    3 Posts
    598 Views
    F
    @JonB Hi! Thanks for your quick reply. That does make sense. Kind regards, fpsio
  • 0 Votes
    4 Posts
    3k Views
    H
    @halowei ActUtlType64.exe // Generated .IDL file (by the OLE/COM Object Viewer) // // typelib filename: ActUtlType64.exe [ uuid(719A5FAB-EB1C-4B52-98BC-F8C9F6912D04), version(5.0), helpstring("ActUtlType64 Control"), custom(DE77BA64-517C-11D1-A2DA-0000F8773CE9, 134283886), custom(DE77BA63-517C-11D1-A2DA-0000F8773CE9, 2147483647), custom(DE77BA65-517C-11D1-A2DA-0000F8773CE9, "Created by MIDL version 8.01.0622 at Tue Jan 19 12:14:07 2038 ") ] library ActUtlType64Lib { // TLib : OLE Automation : {00020430-0000-0000-C000-000000000046} importlib("stdole2.tlb"); // Forward declare all types defined in this typelib interface IActUtlType64; [ uuid(F0B1A112-BFCB-4DA3-9535-C296D69A17E0), helpstring("MITSUBISHI ActUtlType64 Control") ] coclass ActUtlType64 { [default] interface IActUtlType64; }; [ odl, uuid(174DD3F4-961E-4833-A4D2-6BFFE5DDFC6C), helpstring("IActUtlType64 Interface") ] interface IActUtlType64 : IUnknown { [propget, helpstring("Property ActLogicalStationNumber")] HRESULT _stdcall ActLogicalStationNumber([out, retval] long* pVal); [propput, helpstring("Property ActLogicalStationNumber")] HRESULT _stdcall ActLogicalStationNumber([in] long pVal); [propget, helpstring("Property ActPassword")] HRESULT _stdcall ActPassword([out, retval] BSTR* pVal); [propput, helpstring("Property ActPassword")] HRESULT _stdcall ActPassword([in] BSTR pVal); [helpstring("Method Open")] HRESULT _stdcall Open([out, retval] long* lplReturnCode); [helpstring("Method Close")] HRESULT _stdcall Close([out, retval] long* lplReturnCode); [helpstring("Method ReadDeviceBlock2")] HRESULT _stdcall ReadDeviceBlock2( [in] BSTR szDevice, [in] long lSize, [out] short* lplData, [out, retval] long* lplReturnCode); [helpstring("Method WriteDeviceBlock2")] HRESULT _stdcall WriteDeviceBlock2( [in] BSTR szDevice, [in] long lSize, [in] short* lplData, [out, retval] long* lplReturnCode); [helpstring("Method ReadDeviceRandom2")] HRESULT _stdcall ReadDeviceRandom2( [in] BSTR szDeviceList, [in] long lSize, [out] short* lplData, [out, retval] long* lplReturnCode); [helpstring("Method WriteDeviceRandom2")] HRESULT _stdcall WriteDeviceRandom2( [in] BSTR szDeviceList, [in] long lSize, [in] short* lplData, [out, retval] long* lplReturnCode); [helpstring("Method CheckControl")] HRESULT _stdcall CheckControl([out, retval] long* lplReturnCode); [helpstring("Method GetCpuType")] HRESULT _stdcall GetCpuType( [out] BSTR* szCpuName, [out] long* lplCpuCode, [out, retval] long* lplReturnCode); [helpstring("Method SetCpuStatus")] HRESULT _stdcall SetCpuStatus( [in] long lOperation, [out, retval] long* lplReturnCode); [helpstring("Method ReadDeviceBlock")] HRESULT _stdcall ReadDeviceBlock( [in] BSTR szDevice, [in] long lSize, [out] long* lplData, [out, retval] long* lplReturnCode); [helpstring("Method WriteDeviceBlock")] HRESULT _stdcall WriteDeviceBlock( [in] BSTR szDevice, [in] long lSize, [in] long* lplData, [out, retval] long* lplReturnCode); [helpstring("Method ReadDeviceRandom")] HRESULT _stdcall ReadDeviceRandom( [in] BSTR szDeviceList, [in] long lSize, [out] long* lplData, [out, retval] long* lplReturnCode); [helpstring("Method WriteDeviceRandom")] HRESULT _stdcall WriteDeviceRandom( [in] BSTR szDeviceList, [in] long lSize, [in] long* lplData, [out, retval] long* lplReturnCode); [helpstring("Method ReadBuffer")] HRESULT _stdcall ReadBuffer( [in] long lStartIO, [in] long lAddress, [in] long lSize, [out] short* lpsData, [out, retval] long* lplReturnCode); [helpstring("Method WriteBuffer")] HRESULT _stdcall WriteBuffer( [in] long lStartIO, [in] long lAddress, [in] long lSize, [in] short* lpsData, [out, retval] long* lplReturnCode); [helpstring("Method GetClockData")] HRESULT _stdcall GetClockData( [out] short* lpsYear, [out] short* lpsMonth, [out] short* lpsDay, [out] short* lpsDayOfWeek, [out] short* lpsHour, [out] short* lpsMinute, [out] short* lpsSecond, [out, retval] long* lplReturnCode); [helpstring("Method SetClockData")] HRESULT _stdcall SetClockData( [in] short sYear, [in] short sMonth, [in] short sDay, [in] short sDayOfWeek, [in] short sHour, [in] short sMinute, [in] short sSecond, [out, retval] long* lplReturnCode); [helpstring("Method SetDevice")] HRESULT _stdcall SetDevice( [in] BSTR szDevice, [in] long lData, [out, retval] long* lplReturnCode); [helpstring("Method GetDevice")] HRESULT _stdcall GetDevice( [in] BSTR szDevice, [out] long* lplData, [out, retval] long* lplReturnCode); [helpstring("Method GetDevice2")] HRESULT _stdcall GetDevice2( [in] BSTR szDevice, [out] short* lpsData, [out, retval] long* lplReturnCode); [helpstring("Method SetDevice2")] HRESULT _stdcall SetDevice2( [in] BSTR szDevice, [in] short sData, [out, retval] long* lplReturnCode); }; }; ActUtlType.dll // Generated .IDL file (by the OLE/COM Object Viewer) // // typelib filename: ActUtlType.dll [ uuid(D217E54E-4A26-4A76-B0AB-57166B90F9AF), version(1.0), helpstring("MITSUBISHI ActUtlType Controls Ver1.0"), custom(DE77BA64-517C-11D1-A2DA-0000F8773CE9, 134283886), custom(DE77BA63-517C-11D1-A2DA-0000F8773CE9, 2147483647), custom(DE77BA65-517C-11D1-A2DA-0000F8773CE9, "Created by MIDL version 8.01.0622 at Tue Jan 19 12:14:07 2038 ") ] library ActUtlTypeLib { // TLib : OLE Automation : {00020430-0000-0000-C000-000000000046} importlib("stdole2.tlb"); // Forward declare all types defined in this typelib dispinterface _IActUtlTypeEvents; interface IActUtlType; dispinterface _IActMLUtlTypeEvents; interface IActMLUtlType; [ uuid(0D40C842-E0AE-40FE-BB36-894B27D170BF), helpstring("_IActUtlTypeEvents Interface") ] dispinterface _IActUtlTypeEvents { properties: methods: [id(0x00000001), helpstring("Method OnDeviceStatus")] void OnDeviceStatus( [in] BSTR szDevice, [in] long lData, [in] long lReturnCode); }; [ uuid(63885648-1785-41A4-82D5-C578D29E4DA8), helpstring("MITSUBISHI ActUtlType Control"), control ] coclass ActUtlType { [default] interface IActUtlType; [default, source] dispinterface _IActUtlTypeEvents; }; [ odl, uuid(F4A6601A-130D-4FEE-B4CD-7FACAE1011C6), helpstring("IActUtlType Interface"), dual, nonextensible, oleautomation ] interface IActUtlType : IDispatch { [id(0x00000001), propget, helpstring("Property ActLogicalStationNumber")] HRESULT ActLogicalStationNumber([out, retval] long* pVal); [id(0x00000001), propput, helpstring("Property ActLogicalStationNumber")] HRESULT ActLogicalStationNumber([in] long pVal); [id(0x00000002), helpstring("Method Open")] HRESULT Open([out, retval] long* lplReturnCode); [id(0x00000003), helpstring("Method Close")] HRESULT Close([out, retval] long* lplReturnCode); [id(0x00000004), helpstring("Method GetCpuType")] HRESULT GetCpuType( [out] BSTR* szCpuName, [out] long* lplCpuCode, [out, retval] long* lplReturnCode); [id(0x00000005), helpstring("Method SetCpuStatus")] HRESULT SetCpuStatus( [in] long lOperation, [out, retval] long* lplReturnCode); [id(0x00000006), helpstring("Method ReadDeviceBlock")] HRESULT ReadDeviceBlock( [in] BSTR szDevice, [in] long lSize, [out] long* lplData, [out, retval] long* lplReturnCode); [id(0x00000007), helpstring("Method WriteDeviceBlock")] HRESULT WriteDeviceBlock( [in] BSTR szDevice, [in] long lSize, [in] long* lplData, [out, retval] long* lplReturnCode); [id(0x00000008), helpstring("Method ReadDeviceRandom")] HRESULT ReadDeviceRandom( [in] BSTR szDeviceList, [in] long lSize, [out] long* lplData, [out, retval] long* lplReturnCode); [id(0x00000009), helpstring("Method WriteDeviceRandom")] HRESULT WriteDeviceRandom( [in] BSTR szDeviceList, [in] long lSize, [in] long* lplData, [out, retval] long* lplReturnCode); [id(0x0000000a), helpstring("Method ReadBuffer")] HRESULT ReadBuffer( [in] long lStartIO, [in] long lAddress, [in] long lSize, [out] short* lpsData, [out, retval] long* lplReturnCode); [id(0x0000000b), helpstring("Method WriteBuffer")] HRESULT WriteBuffer( [in] long lStartIO, [in] long lAddress, [in] long lSize, [in] short* lpsData, [out, retval] long* lplReturnCode); [id(0x0000000c), helpstring("Method GetClockData")] HRESULT GetClockData( [out] short* lpsYear, [out] short* lpsMonth, [out] short* lpsDay, [out] short* lpsDayOfWeek, [out] short* lpsHour, [out] short* lpsMinute, [out] short* lpsSecond, [out, retval] long* lplReturnCode); [id(0x0000000d), helpstring("Method SetClockData")] HRESULT SetClockData( [in] short sYear, [in] short sMonth, [in] short sDay, [in] short sDayOfWeek, [in] short sHour, [in] short sMinute, [in] short sSecond, [out, retval] long* lplReturnCode); [id(0x0000000e), helpstring("Method SetDevice")] HRESULT SetDevice( [in] BSTR szDevice, [in] long lData, [out, retval] long* lplReturnCode); [id(0x0000000f), helpstring("Method GetDevice")] HRESULT GetDevice( [in] BSTR szDevice, [out] long* lplData, [out, retval] long* lplReturnCode); [id(0x00000010), helpstring("Method CheckDeviceString")] HRESULT CheckDeviceString( [in] BSTR szDevice, [in] long lCheckType, [in] long lSize, [out] long* lplDeviceType, [out] BSTR* lpszDeviceName, [out] long* lplDeviceNumber, [out] long* lplDeviceRadix, [out, retval] long* lplReturnCode); [id(0x00000011), helpstring("Method EntryDeviceStatus")] HRESULT EntryDeviceStatus( [in] BSTR szDeviceList, [in] long lSize, [in] long lMonitorCycle, [in] long* lplData, [out, retval] long* lplReturnCode); [id(0x00000012), helpstring("Method FreeDeviceStatus")] HRESULT FreeDeviceStatus([out, retval] long* lplReturnCode); [id(0x00000014), propget, helpstring("Property ActPassword")] HRESULT ActPassword([out, retval] BSTR* pVal); [id(0x00000014), propput, helpstring("Property ActPassword")] HRESULT ActPassword([in] BSTR pVal); [id(0x00000015), helpstring("Method ReadDeviceBlock2")] HRESULT ReadDeviceBlock2( [in] BSTR szDevice, [in] long lSize, [out] short* lpsData, [out, retval] long* lplReturnCode); [id(0x00000016), helpstring("Method WriteDeviceBlock2")] HRESULT WriteDeviceBlock2( [in] BSTR szDevice, [in] long lSize, [in] short* lpsData, [out, retval] long* lplReturnCode); [id(0x00000017), helpstring("Method ReadDeviceRandom2")] HRESULT ReadDeviceRandom2( [in] BSTR szDeviceList, [in] long lSize, [out] short* lpsData, [out, retval] long* lplReturnCode); [id(0x00000018), helpstring("Method WriteDeviceRandom2")] HRESULT WriteDeviceRandom2( [in] BSTR szDeviceList, [in] long lSize, [in] short* lpsData, [out, retval] long* lplReturnCode); [id(0x00000019), helpstring("Method GetDevice2")] HRESULT GetDevice2( [in] BSTR szDevice, [out] short* lpsData, [out, retval] long* lplReturnCode); [id(0x0000001a), helpstring("Method SetDevice2")] HRESULT SetDevice2( [in] BSTR szDevice, [in] short sData, [out, retval] long* lplReturnCode); [id(0x0000001b), helpstring("Method ConnectTel")] HRESULT Connect([out, retval] long* lplReturnCode); [id(0x0000001c), helpstring("Method DisconnectTel")] HRESULT Disconnect([out, retval] long* lplReturnCode); }; [ uuid(EC0956E5-A882-4855-87A9-CA571090F36E), helpstring("_IActMLUtlTypeEvents Interface") ] dispinterface _IActMLUtlTypeEvents { properties: methods: [id(0x00000001), helpstring("Method OnDeviceStatus")] void OnDeviceStatus( [in] VARIANT varDevice, [in] VARIANT varData, [in] VARIANT varReturnCode); }; [ uuid(29DE4B06-C429-420A-B3B7-BF7DC62649B2), helpstring("MITSUBISHI ActMLUtlType Control"), control ] coclass ActMLUtlType { [default] interface IActMLUtlType; [default, source] dispinterface _IActMLUtlTypeEvents; }; [ odl, uuid(B05A87E9-21CB-47A1-84A0-82ABACF879CD), helpstring("IActMLUtlType Interface"), dual, nonextensible, oleautomation ] interface IActMLUtlType : IDispatch { [id(0x00000001), helpstring("Method Open")] HRESULT Open([out, retval] VARIANT* lpvarReturnCode); [id(0x00000002), helpstring("Method Close")] HRESULT Close([out, retval] VARIANT* lpvarReturnCode); [id(0x00000003), helpstring("Method GetDevice")] HRESULT GetDevice( [in] VARIANT varDevice, [out] VARIANT* lpvarData, [out, retval] VARIANT* lpvarReturnCode); [id(0x00000004), helpstring("Method SetDevice")] HRESULT SetDevice( [in] VARIANT varDevice, [in] VARIANT varData, [out, retval] VARIANT* lpvarReturnCode); [id(0x00000005), helpstring("Method ReadDeviceBlock")] HRESULT ReadDeviceBlock( [in] VARIANT varDevice, [in] VARIANT varSize, [out] VARIANT* lpvarData, [out, retval] VARIANT* lpvarReturnCode); [id(0x00000006), helpstring("Method WriteDeviceBlock")] HRESULT WriteDeviceBlock( [in] VARIANT varDevice, [in] VARIANT varSize, [in] VARIANT varData, [out, retval] VARIANT* lpvarReturnCode); [id(0x00000007), helpstring("Method ReadDeviceRandom")] HRESULT ReadDeviceRandom( [in] VARIANT varDeviceList, [in] VARIANT varSize, [out] VARIANT* lpvarData, [out, retval] VARIANT* lpvarReturnCode); [id(0x00000008), helpstring("Method WriteDeviceRandom")] HRESULT WriteDeviceRandom( [in] VARIANT varDeviceList, [in] VARIANT varSize, [in] VARIANT varData, [out, retval] VARIANT* lpvarReturnCode); [id(0x00000009), helpstring("Method ReadBuffer")] HRESULT ReadBuffer( [in] VARIANT varStartIO, [in] VARIANT varAddress, [in] VARIANT varReadSize, [out] VARIANT* lpvarData, [out, retval] VARIANT* lpvarReturnCode); [id(0x0000000a), helpstring("Method WriteBuffer")] HRESULT WriteBuffer( [in] VARIANT varStartIO, [in] VARIANT varAddress, [in] VARIANT varWriteSize, [in] VARIANT varData, [out, retval] VARIANT* lpvarReturnCode); [id(0x0000000b), helpstring("Method GetCpuType")] HRESULT GetCpuType( [out] VARIANT* lpvarCpuName, [out] VARIANT* lpvarCpuCode, [out, retval] VARIANT* lpvarReturnCode); [id(0x0000000c), helpstring("Method SetCpuStatus")] HRESULT SetCpuStatus( [in] VARIANT varOperation, [out, retval] VARIANT* lpvarReturnCode); [id(0x0000000d), helpstring("Method GetClockData")] HRESULT GetClockData( [out] VARIANT* lpvarYear, [out] VARIANT* lpvarMonth, [out] VARIANT* lpvarDay, [out] VARIANT* lpvarDayOfWeek, [out] VARIANT* lpvarHour, [out] VARIANT* lpvarMinute, [out] VARIANT* lpvarSecond, [out, retval] VARIANT* lpvarReturnCode); [id(0x0000000e), helpstring("Method SetClockData")] HRESULT SetClockData( [in] VARIANT varYear, [in] VARIANT varMonth, [in] VARIANT varDay, [in] VARIANT varDayOfWeek, [in] VARIANT varHour, [in] VARIANT varMinute, [in] VARIANT varSecond, [out, retval] VARIANT* lpvarReturnCode); [id(0x0000000f), helpstring("Method EntryDeviceStatus")] HRESULT EntryDeviceStatus( [in] VARIANT varDeviceList, [in] VARIANT varSize, [in] VARIANT varMonitorCycle, [in] VARIANT varData, [out, retval] VARIANT* lpvarReturnCode); [id(0x00000010), propget, helpstring("Property ActLogicalStationNumber")] HRESULT ActLogicalStationNumber([out, retval] VARIANT* pVal); [id(0x00000010), propput, helpstring("Property ActLogicalStationNumber")] HRESULT ActLogicalStationNumber([in] VARIANT pVal); [id(0x00000011), helpstring("Method FreeDeviceStatus")] HRESULT FreeDeviceStatus([out, retval] VARIANT* lpvarReturnCode); [id(0x00000013), propget, helpstring("Property ActPassword")] HRESULT ActPassword([out, retval] VARIANT* pVal); [id(0x00000013), propput, helpstring("Property ActPassword")] HRESULT ActPassword([in] VARIANT pVal); [id(0x00000014), helpstring("Method ReadDeviceBlock2")] HRESULT ReadDeviceBlock2( [in] VARIANT varDevice, [in] VARIANT varSize, [out] VARIANT* lpvarData, [out, retval] VARIANT* lpvarReturnCode); [id(0x00000015), helpstring("Method WriteDeviceBlock2")] HRESULT WriteDeviceBlock2( [in] VARIANT varDevice, [in] VARIANT varSize, [in] VARIANT varData, [out, retval] VARIANT* lpvarReturnCode); [id(0x00000016), helpstring("Method ReadDeviceRandom2")] HRESULT ReadDeviceRandom2( [in] VARIANT varDeviceList, [in] VARIANT varSize, [out] VARIANT* lpvarData, [out, retval] VARIANT* lpvarReturnCode); [id(0x00000017), helpstring("Method WriteDeviceRandom2")] HRESULT WriteDeviceRandom2( [in] VARIANT varDeviceList, [in] VARIANT varSize, [in] VARIANT varData, [out, retval] VARIANT* lpvarReturnCode); [id(0x00000018), helpstring("Method GetDevice2")] HRESULT GetDevice2( [in] VARIANT varDevice, [out] VARIANT* lpvarData, [out, retval] VARIANT* lpvarReturnCode); [id(0x00000019), helpstring("Method SetDevice2")] HRESULT SetDevice2( [in] VARIANT varDevice, [in] VARIANT varData, [out, retval] VARIANT* lpvarReturnCode); }; };
  • Non-changing values causing QOpcUa connection drop

    Unsolved
    1
    0 Votes
    1 Posts
    209 Views
    No one has replied
  • QGC Android build failing.

    Unsolved
    6
    0 Votes
    6 Posts
    1k Views
    D
    @jsulm Hmm okay I am not sure of how to do this. I just checked the lib folder and it has the file libQt5SerialPort_x86.so @JoeCFD Hi, I tried in both it gives the same error Sorry for the late reply
  • Qt5 'QFontDatabase' class

    Solved
    8
    0 Votes
    8 Posts
    881 Views
    C
    @feri Excellent. I had not recognised the Qt5-Qt6 differences.
  • Changing QDial angle range, zero-point, and pointer image

    Solved qdial
    4
    0 Votes
    4 Posts
    612 Views
    SGaistS
    @swurl then the most simple is to read the code of QDial and create your own based on it.
  • error message undifined symbol:

    Unsolved
    2
    0 Votes
    2 Posts
    195 Views
    SGaistS
    Hi and welcome to devnet, Are you using some pre-built libraries in your project ? Did you check them to ensure they contain arm64 code ?
  • This topic is deleted!

    Unsolved
    10
    0 Votes
    10 Posts
    152 Views
  • Find what is using a `QSqlDatabase` connection

    Solved
    3
    0 Votes
    3 Posts
    227 Views
    M
    @JonB I read that paragraph dozen of times but I didn't realize the braces are intended to be literal! I understood it's just to point out I need to place the variables inside a function! Anyway it still wasn't enough! I had to add: delete _model; even if the docs says: Clears the model and releases any acquired resource.
  • This topic is deleted!

    Unsolved
    8
    0 Votes
    8 Posts
    128 Views
  • Errors when porting from Qt 5.15.2 to Qt 6.5.2

    Unsolved
    3
    0 Votes
    3 Posts
    296 Views
    JonBJ
    @benjamin_jaeger After you have addressed @jsulm's questions. And maybe tried this in a small, standalone program, not wherever you are now in a big application, with goodness knows what else maybe included. In your https://stackoverflow.com/questions/77389686/q-assert-issues-when-porting-projet-from-qt-5-15-2-to-qt-6-5-2 you were asked what compiler/versions/C++ level you are compiling with?
  • What's "lexographically"?

    Unsolved
    14
    0 Votes
    14 Posts
    1k Views
    Chris KawaC
    @enjoysmath That's a set, list, group, vector or a number of other things. It's not an alphabet, because it doesn't represent phonemes (unless you can make a sound of pizza). We're talking about sets of characters, so linguistic definition of an alphabet is better suiting than that of a formal language theory. You learn your ABCs in a language class, not in math class.
  • how to display native Display P3 JPEGs on a professional monitor using Qt?

    Unsolved
    2
    0 Votes
    2 Posts
    184 Views
    C
    @chess Upgrade to Qt 6? QColorSpace::NamedColorSpace