I tried QBitmap::fromData( ) and it worked perfectly. The only problem I had was I am using an XBM that I saved as a .h file, but I had to use the QImage::Format of QImage::Format_MonoLSB even though the documentation says to just use QImage::Format_Mono. When I didn't use the LSB one, my image was divided vertically into thirds, and each third was horizontally reversed. Thanks for your help Wysota!