No application window displayed because of iconv dependence
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
qpdfview |
Invalid
|
Undecided
|
Unassigned |
Bug Description
Hello,
I tried building 0.2.2beta2 on my system. It compiled successfully, but running it in a terminal window won't do anything (it doesn't crash; it just grabs the shell, but nothing displays). Even passing bad options won't show an error (something like "-graphicssystem bogus" would do so).
I'm running Gentoo Linux 3.2.12-gentoo on x86_64, multilib profile, with gcc-4.5.3, glibc-2.14.1-r3 and qt-*-4.7.4-r1. All my packages are locally built, and I tend to disable things unless I need them (which may have something to do with it, but I don't know what). I tried rebuilding Qt with more options and upgrading to 4.8 but with no results.
Building different versions of qpdfview, I found out that the bug crept in somewhere between 0.2.1 and 0.2.2alpha1 (even though 0.2.1 is newer and 0.2.2alpha1 older, the first on works and the second doesn't).
The following options were used to configure qt-core (taken from the ebuild; a few are explicitly turned off by me, most are implicit): "-no-glib -no-iconv -no-optimized-qmake -no-openssl -no-qt3support -no-javascript-jit -no-xkb -no-fontconfig -no-xrender -no-xrandr -no-xfixes -no-xcursor -no-xinerama -no-xshape -no-sm -no-opengl -no-nas-sound -no-dbus -no-cups -no-gif -no-libpng -no-libmng -no-libjpeg -system-zlib -no-webkit -no-phonon -no-xmlpatterns -no-freetype -no-libtiff -no-accessibility -no-fontconfig -no-opengl -no-svg -no-gtkstyle -no-phonon-backend -no-script -no-scripttools -no-cups -no-xsync -no-xinput -no-multimedia".
And qt-gui was configured with the following (the same applies): "-no-accessibility -no-cups -no-glib -no-libmng -no-nis -no-libtiff -no-qdbus -no-dbus -no-egl -no-qt3support -no-gtkstyle -no-xinerama -qt-gif -system-libpng -system-libjpeg -no-sql-mysql -no-sql-psql -no-sql-ibase -no-sql-sqlite -no-sql-sqlite2 -no-sql-odbc -xrender -xrandr -xkb -xshape -sm -no-svg -no-webkit -no-phonon -no-opengl".
Maybe I should contact the Gentoo devs too, but I have no idea exactly to whom should I forward this (0.2beta2 is the latest in Portage). If I can help you with other information, please ask.
Andi Șerbănescu
Changed in qpdfview: | |
assignee: | nobody → Adam Reichold (adamreichold) |
importance: | Undecided → High |
status: | New → Incomplete |
Changed in qpdfview: | |
milestone: | none → 0.2.2 |
Changed in qpdfview: | |
milestone: | 0.2.2 → none |
summary: |
- qpdfview-0.2.2beta2: no application window displayed + No application window displayed because of iconv dependence |
Changed in qpdfview: | |
assignee: | Adam Reichold (adamreichold) → nobody |
importance: | Medium → Undecided |
Well, I think the main change w.r.t. the MainWindow from 0.2 to 0.2.2beta2 is that it is created on the heap instead of the stack but I don't how that could make a difference. (And did not yet change in 0.2.2alpha1.)
But I also have to admit that I do not posses a detailed knowledge of all these configurations options. (Some of them seem contradictory, i.e. "-no-sm" in Core but "-sm" in GUI? But as I said, I just don't really know.)
I also have to admit that I pretty much have no idea what could cause this and the most helpful information would probably be provided by a debugging session to find out how far exactly the initialization of the MainWindow class comes. (Because it does not exit, I assume it enters the main event loop at least.)
(One very far fetched idea would be to remove the folder "~/.config/ qpdfview" as the program tries to restore its window state on startup. Maybe something got messed up there?)