- 
    Bug 
- 
    Resolution: Done
- 
    P1: Critical 
- 
    5.15.1
- 
    None
- 
    $qmake --version
 QMake version 3.1
 Using Qt version 5.15.1 in /usr/lib
 
 $cat /etc/issue
 Arch Linux \r (\l
- 
        
- 
        6f2c7469f86785e6ba81fe0280210ef7275099de (qt/qtbase/dev) fa7a83953047fa79c27dc8e5bb9d42cb07fe2b7f (qt/qtbase/5.12) 550bac1f87f15deaaa7a5f2e47f3af159218bab2 (qt/qtbase/5.15)
Hi,
saving a QImage in XPM format then loading the saved XPM image results in warnings, and the loaded image differs from the original one. The right-most column is "missing" (it is black).
E.g:
QImage: XPM pixels missing on image line 39 (possibly a C++ trigraph).
I attached an example project to reproduce the issue. It worked with qt 5.5 and 5.13 too. I also checked that the XPM saved by the qt 5.5 and 5.15.1 version is the same.