Weird corrupted String
-
I am having a string issue with the following code:
foreach (const QCameraInfo &deviceName, QCameraInfo::availableCameras())
If I compile the program on my machine and transfer the exe and DLLs to the target machine, the deviceName() method returns a '.' (this may actually be something besides a period in Hex, but I won't know that until I can get the target system back.)
If I copy the code to the target machine and build it there, then the issue goes away. I was thinking it may have something to do with the fact my development machine is 64 bit, but the target system is 32. Even though I was building for 32 bit, I thought maybe something was not getting translated correctly. However, when I took the exe from one target system and placed it on another identical system the problem came back.
Anyone have any idea what is going on?
Thanks in advance,
Bear -
Hi,
Windows ? Did you deploy all DLLs with your application ? Including the QtMultimedia plugins ?
-
Those plugins can be tricky…
Happy coding !