Quantcast
Channel: User spraff - Stack Overflow
Browsing all 66 articles
Browse latest View live

How to debug GNU make's variable assignment

My Makefile contains something likeBASE_VAR=$(cat path/to/value.txt)DERIVED_VAR=$(if $(BASE_VAR),foo,bar)This does not produce the results I expected. make --debug=a produces detailed trace but...

View Article


unexpected implicit "DEFAULT NULL" on non-null columns when `INSERT IGNORE`...

I just ran this on MySql 8 using InnoDBCREATE TABLE TuneName( id BIGINT NOT NULL AUTO_INCREMENT PRIMARY KEY, tune_id BIGINT NOT NULL, name VARCHAR (100) NOT NULL, norm VARCHAR (100) NOT NULL,...

View Article


ctrl-C to terminate a pyqt application with a QOpenGLWidget

My main file for a pyqt application looks like this:#!/usr/bin/env python3from PyQt5.QtWidgets import QApplicationimport signalimport sysfrom main_window import MainWindowif __name__ == "__main__":...

View Article

QGraphicsScene.items() only returning items whose pos() exactly matches a...

A QGraphicsScene contains a number of MyItem items.A MyItem is a QGraphicsItemGroup which contains, among other child items, a QGraphicsEllipseItem centred at the local origin.A number of MyItem items...

View Article

Answer by spraff for QGraphicsScene.items() only returning items whose pos()...

The issue is that the boundingRect is not updated when children are updated, and the application must manage this explicitly.

View Article


Image may be NSFW.
Clik here to view.

QGraphicsPathItem ignoring PenCapStyle

I have two QGraphicsPathItem which share a QPainterPath, one is a thick background and the othe is a thin foreground.They each have a QPen with Qt.FlatCapa square line end that does not cover the end...

View Article
Browsing all 66 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>