I added line
and reached in console:Qt Code:
qDebug() << "Is pixmap null:" << pixmap.isNull();To copy to clipboard, switch view to plain text mode
QObject::connect: No such signal QTimer::timeout()
Is pixmap null: true
So there's a problem with loading image.
Could you paste the contents of .qrc file and the output of "tree -f" executed in the project directory from command line? About the signal, you have already been advised more than once how to fix that.
J-P Nurmi
Sure. Images.qrc:
And If I try tree -f I reach that there's no such command<RCC>
<qresource prefix="/new/prefix1" >
<file>File.jpg</file>
<file>Poker.JPG</file>
<file>Poker.PNG</file>
<file>Tools.jpg</file>
<file>about.jpg</file>
<file>copy.jpg</file>
<file>cut.jpg</file>
<file>delete.jpg</file>
<file>delfile.jpg</file>
<file>exit.jpg</file>
<file>favicon.ico</file>
<file>find.jpg</file>
<file>font.jpg</file>
<file>help.jpg</file>
<file>mainlogo.jpg</file>
<file>new.jpg</file>
<file>paste.jpg</file>
<file>print.jpg</file>
<file>save.jpg</file>
<file>settings.jpg</file>
<file>sort.jpg</file>
</qresource>
</RCC>
So shouldn't it be something like:
Qt Code:
To copy to clipboard, switch view to plain text mode
I guess you're running some else Windows than XP/2000 then?And If I try tree -f I reach that there's no such command
J-P Nurmi
No, I've got XP. I tried your code - with result. Thanks. Now I have to solve problem with the signal
Last edited by Salazaar; 27th June 2007 at 21:30.
Oh, and actually it should be "tree /f" not "tree -f". The command should definitely be available in XP.
J-P Nurmi
Bookmarks