[Qt-interest] Simple Signal Slot Failing
Raja Rokkam
rokkamraja at gmail.com
Wed Nov 11 17:11:35 CET 2009
Hi All,
I have an UI -> a storage engine ( interface for reading/writing on
to disk) -> server ( which launches a process).
So, when I launch the UI, it loads certain config files by sending a signal
to "Storage Engine" which will call the server and another process gets
launched.
This other process writes the config file. It is created as a
QProcess::startDetached in Mac and ShellExecute is used for Windows.
Now, after writing the config file, server sends a signal back to storage
engine which in turn signals the UI to read the config file and show it to
user.
This whole setup works fine in OSX but in windows strangely, my logs show UI
slot for reading is called thrice when infact only once it is being called
in OSX. I am not calling this SLOT anywhere else in the code. and more
strangely the SIGNAL from server to storage engine is being emitted only
once as seen from the slots.
Can anyone provide me possible pointers to debug this issue ?
Thanks,
Raja.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.qt-project.org/pipermail/qt-interest-old/attachments/20091111/e57d9d62/attachment.html
More information about the Qt-interest-old
mailing list