Help answer threads with 0 replies.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 08-22-2012, 07:30 PM   #1
Registered: Aug 2012
Posts: 789

Rep: Reputation: Disabled
QPixmap: Cannot create a QPixmap when no GUI is being used

I am trying to convert HTML to an image. wkhtmltopdf works great to convert them to PDFs. The sister product wkhtmltoimage, however, is driving me crazy.

With both wkhtmltoimage-amd64 and wkhtmltoimage-i38, images created by JavaScript are not included in the image, and I get the following errors:
[root@localhost bin]# /usr/bin/wkhtmltoimage-amd64 test.jpg
Loading page (1/2)
QPixmap: Cannot create a QPixmap when no GUI is being used   ] 89%
Segmentation fault
[root@localhost bin]#
The wkhtmltopdf which is working is version 0.9.9, and was installed using

The wkhtmltoimage which isn't working is version 0.11.0_rc1 Linux Static Binary (amd64) and was installed using a static binary found at wkhtmltopdf.

My operating system is Linux localhost.localdomain 2.6.18-308.11.1.el5 #1 SMP Tue Jul 10 08:48:43 EDT 2012 x86_64 x86_64 x86_64 GNU/Linux

Please provide any suggestions.

Thank you
Old 08-23-2012, 07:46 AM   #2
Registered: Aug 2012
Posts: 789

Original Poster
Rep: Reputation: Disabled
I just tried the wkhtmltopdf-0.11.0_rc1 Linux Static Binary (amd64) located at, and get the same errors as when using wkhtmltoimage.

Why an older version using the amberdms repos works, I do not know, but it does.

Maybe I can install wkhtmltoimage from source, but I am a little over my head.

Any help getting wkhtmltoimage working will be very appreciated.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Quake 3 Arena: QPixmap: Cannot create a QPixmap when no GUI is being used donknotts Linux - Games 0 07-31-2004 01:22 PM
qpixmap issues no GUI etc.. dzt Slackware 2 04-15-2004 12:45 PM
some QPixmap problem in k3b w0lv3rin3 Linux - Software 0 03-28-2004 05:49 PM
Cannot create QPIXMAP when no GUI is beeing used thar Linux - General 0 02-12-2004 07:30 AM
QPixmap: Cannot create a QPixmap when no GUI is being used dzt Linux - Software 1 10-19-2003 12:55 AM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 08:40 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration