PDA

View Full Version : QSettings::sync: filename is null/empty (fix)



UnGod
12-20-2003, 12:55 PM
I don't see any other posts about it here, but as it's happened to me, I figured I might as well post the fix I found to it :)

I do a lot of sudo'n around on my machine, so I end up with some files in my home dir, owned by root/etc.

It happens, now for a more relevant portion of this, sometimes the directory ~/.qt can end up owned by root apparently, which poses some problems.



/usr/lib/qt-x11-free-3.2.3/bin/uic -impl ui_mapicondialog.h mapicondialog.ui > ui_mapicondialog.cpp

When that line is executed, if you recieve page after page of:


QSettings::sync: filename is null/empty

Chances are it's a permission problem (or so it seems)

2 things you can do to get around it, log in as root and do the compile, or 'chown -R <username>.users ~/.qt'

Both of these should fix it and allow your nice new showeq5 to compile :)

(Surprisingly it took me about 3 days, and 7 different QT versions to figure that out :P)

On a side note, showeq5 beta 3 compiles perfectly on a stock Slackware-9.1 machine (with the various security patches installed, but nothing showeq related was updated) (stock slackware-9.1 uses qt3.2.1 incase you were curious)

Also compiles and runs perfect using qt3.2.3.

Belith/UnGod