Search found 259 matches

by seasoned_geek
Mon May 09 2022 6:05 pm
Forum: Developers
Topic: Compilation warning
Replies: 3
Views: 3254

Compilation warning

All, I didn't dig into the code, but this warning scares me. I just pulled down this morning to build in a new VM. /home/developer/Projects/cs_build/include/QtCore/qarraydata.h:103:8: note: at offset [26, 50] into destination object ‘QTypedArrayData<char>::<anonymous>’ of size 24 /home/developer/Pro...
by seasoned_geek
Mon May 09 2022 6:01 pm
Forum: Developers
Topic: QStringParser::formatArg bug
Replies: 3
Views: 3407

Re: QStringParser::formatArg bug

Thank you.

Duplicates were always allowed in Qt. They seemed to work up to 3 in CopperSpice. Nice to know they work once again.
by seasoned_geek
Sat Apr 09 2022 8:23 pm
Forum: Developers
Topic: QStringParser::formatArg bug
Replies: 3
Views: 3407

QStringParser::formatArg bug

While you don't need the entirety of the code this: cmd = "INSERT INTO THEME_COLORS( THEME_NAME, STYLE_NO, FONT_NAME, POINT_SIZE, WEIGHT, ITALIC, " "UNDERLINE, FORE_RED, FORE_BLUE, FORE_GREEN, FORE_ALPHA, BACK_RED, BACK_BLUE, BACK_GREEN, BACK_ALPHA, " "EOL_FILLED, DISPLAYED_...
by seasoned_geek
Tue Apr 05 2022 12:16 am
Forum: Developers
Topic: QString QSqlQuery bug 2
Replies: 1
Views: 2877

QString QSqlQuery bug 2

Possibly related to the prepare bug. Ripped my hair out for hours on this one. void DefaultSyntax::generateSyntaxMasterFromLexers( QSqlDatabase &db ) { QSqlQuery query( db ); unsigned int lexerCnt = GetLexerCount(); char lexName[2048]; qDebug() << "lexerCnt: " << lexerCnt << "\n&q...
by seasoned_geek
Mon Apr 04 2022 11:17 pm
Forum: Issues
Topic: QtConcurrent documentation bug
Replies: 4
Views: 6472

Re: QtConcurrent documentation bug

run() is actually a function in the QtConcurrent namespace. It is declared in the header <QtConcurrentRun>, please make sure you have included this header in your source code. Thank you. The doc should identify the needed header like the doc does for QStringParser here: https://www.copperspice.com/...
by seasoned_geek
Mon Apr 04 2022 3:53 pm
Forum: Issues
Topic: QtConcurrent documentation bug
Replies: 4
Views: 6472

QtConcurrent documentation bug

Something is really hosed here: https://www.copperspice.com/docs/cs_api/namespace_qtconcurrent.html with doc for QtConcurrent::run You can see image here: https://www.logikalsolutions.com/wordpress/wp-content/uploads/2022/04/QtConcurrent-doc-1.png While we are at it, the doc doesn't seem to match th...
by seasoned_geek
Thu Mar 31 2022 6:32 pm
Forum: Developers
Topic: QRadioButton Bug
Replies: 3
Views: 3155

QRadioButton Bug

If you have code like this in your dialog constructor m_numLockRBTN = new QRadioButton( tr( "NumLock" ) ); m_scrollLockRBTN = new QRadioButton( tr( "ScrollLock" ) ); if ( Overlord::getInstance()->numlockIsGold() ) { m_numLockRBTN->setChecked( true ); } else { m_scrollLockRBTN->se...
by seasoned_geek
Thu Mar 31 2022 4:06 pm
Forum: Developers
Topic: QKeySequence MAC question
Replies: 0
Views: 6184

QKeySequence MAC question

I don't own, nor do I want to own a MAC. Having said that, if someone builds my stuff on that platform I would like them to be able to "just build" and not have to hack it. Diamond did stuff I didn't care for, but was probably early in CopperSpice life so had to. Given these three apple ke...
by seasoned_geek
Mon Mar 28 2022 3:05 pm
Forum: Issues
Topic: QDir documentation issue and missing feature
Replies: 0
Views: 7755

QDir documentation issue and missing feature

https://www.copperspice.com/docs/cs_api/class_qdir.html#aa97a802699b83d42a60cc0a66e5faf58 filePath() Returns the path name of a file in the directory. Does not check if the file actually exists in the directory; but see exists(). If the QDir is relative the returned path name will also be relative. ...
by seasoned_geek
Sat Mar 26 2022 6:50 pm
Forum: Developers
Topic: QStringView compare bug
Replies: 1
Views: 2749

QStringView compare bug

Qt::CaseSensitivity sens = noCase ? Qt::CaseInsensitive : Qt::CaseSensitive; bool retVal = false; int rslt = 0; if ( column < 1 ) { rslt = a.compare( b, sens ); } else { int pos = column - 1; QStringView aView( a.midView( pos ) ); QStringView bView( b.midView( pos ) ); rslt = aView.compare( bView, ...