Search found 157 matches

by ansel
Mon Oct 31 2022 6:31 pm
Forum: Developers
Topic: QVariant bug/documentation issue
Replies: 5
Views: 17758

Re: QVariant bug/documentation issue

There are around 50 different constructors in QVariant to support the most common data types. To create a QVariant using a type which was not provided, such as QFont, you need to use the QVariant::fromValue or QVariant::setValue template methods. The value can then be retrieved out of the variant us...
by ansel
Tue Sep 13 2022 2:50 am
Forum: Developers
Topic: QSettings::setPath() being ignored
Replies: 2
Views: 12086

Re: QSettings::setPath() being ignored

We took a look at the constructors for QSettings. If you are using the constructor where the first parameter is a filename, the file will be created relative to the current working directory. One option is to specify the full path as part of the filename. There are other constructors which may have ...
by ansel
Sun Sep 11 2022 7:04 pm
Forum: Developers
Topic: QMap::findValue
Replies: 4
Views: 10742

Re: QMap::findValue

Thanks for explaining your suggestion, we have added this to our roadmap for a future release. We will also update the documentation for defaulted values.
by ansel
Mon Aug 15 2022 12:23 am
Forum: Developers
Topic: XCB crash when left doing nothing
Replies: 6
Views: 12284

Re: XCB crash when left doing nothing

No OpenGL integration plugin was found, this is only required for programs which use OpenGL. /home/roland/Projects/copperspice/src/plugins/platforms/xcb/xcb_support/qxcb_clipboard.cpp, line 466 Aborted (core dumped) After rebuilding CopperSpice with the master branch, if you can create a small repe...
by ansel
Mon Aug 15 2022 12:10 am
Forum: Developers
Topic: XCB crash when left doing nothing
Replies: 6
Views: 12284

Re: XCB crash when left doing nothing

No OpenGL integration plugin was found, this is only required for programs which use OpenGL. If your application needs OpenGL you will need to install the OpenGL plugin. If your application does not use OpenGL, this message can be ignored. The warning message is reported since the XCB platform plug...
by ansel
Sun Aug 14 2022 11:55 pm
Forum: Developers
Topic: XCB crash when left doing nothing
Replies: 6
Views: 12284

Re: XCB crash when left doing nothing

The vulkan-dev branch is currently under development and has not been merged yet. If you are building from source you should be building from the master branch.
by ansel
Mon Jun 13 2022 3:53 am
Forum: Issues
Topic: Ubuntu 18.04 cmake 3.22 build issues
Replies: 1
Views: 9451

Re: Ubuntu 18.04 cmake 3.22 build issues

Ubuntu 18.04 ships with CMake 3.10, and CopperSpice requires 3.16 or newer which you can download directly from KitWare. The same situation exists for Debian 9 and 10. Our CMake scripts are tested on various platforms from 3.16 through 3.21 as per our overview documentation. As we test other platfor...
by ansel
Mon Apr 25 2022 6:43 am
Forum: Developers
Topic: QStringParser::formatArg bug
Replies: 3
Views: 11262

Re: QStringParser::formatArg bug

You are correct that you can have placeholders with numbers between 1 and 99. However, our documentation does not say anything about supporting duplicate or repeated usage of placeholder numbers. When we implemented QStringParser this was not a feature we considered implementing. We are happy to fil...
by ansel
Mon Apr 25 2022 2:36 am
Forum: Developers
Topic: QStringView compare bug
Replies: 1
Views: 6135

Re: QStringView compare bug

The QStringView::compare() method was added in January of 2022 which was just after the release of CopperSpice 1.7.3. This method will be present in CopperSpice 1.7.4, which is scheduled to be released by the end of April 2022.
by ansel
Fri Apr 22 2022 3:15 am
Forum: Developers
Topic: QString QSqlQuery bug 2
Replies: 1
Views: 6788

Re: QString QSqlQuery bug 2

This is an interesting issue and is not related to the QSqlQuery problem you reported nor is it a QStringParser bug. The problem has to do with lexName, which you declared as an array of characters. Here is the line of code to look at: "QStringParser::formatArg(cmd, lexName)". The second p...