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,
Windows ? Did you deploy all DLLs with your application ? Including the QtMultimedia plugins ?
@SGaist Yes it is Windows 7. The target is Windows 7 Embedded. Yes I did deploy the DLLS but as soon as the system comes back from the testing I will verify that.
@SGaist Thanks again. I was missing plugins. After copying them over to the target system along with a freshly compiled exe from my development system, my exe ran just fine.
Those plugins can be tricky…
Happy coding !