"Failed to create xcb gl-integration"
I happened to use the colors dialog again today and then spent some time chasing my tail.
Code: Select all
void Dialog_Colors::copyClicked()
{
QString destName;
bool okFlag = false;
// TODO:: Really need to get an AlphaNumeric hint added
destName = QInputDialog::getText( this, "New Theme name", "Name: ", QLineEdit::Normal,
destName, &okFlag, Qt::Dialog, Qt::ImhNone );
// TODO:: Need duplicate check here
if ( okFlag && ( destName > " " ) )
{
bool abortFlag = false;
while ( nameCollision( destName, abortFlag ) && !abortFlag );
m_localSettings.copyTheme( m_ui->theme_comboBox->currentText(), destName );
rebuildComboBox( true );
}
}
After quite a bit of bewilderment and hacking I changed the if statement on a desperate whim.
Code: Select all
if ( okFlag && !destName.isEmpty() )
I modified my cs_hello test program which can be found here: https://www.logikalsolutions.com/wordpress/uncategorized/copperspice-experiments-pt-8/
Code: Select all
void Task::run()
{
// Do processing here
QString destName;
qDebug() << "Hello World!";
if (destName > " " )
{
qDebug() << "dest greater";
}
else
{
qDebug() << "dest not greater";
}
emit finished();
}
Code: Select all
roland@roland-amd-desktop:~/Projects/cs_hello_debug$ ./cs_hello
Hello World!
Segmentation fault (core dumped)