Writing application to cd(solved)
hi to every one
i wrote a program and it is a bundle, i use macdeployqt correctly,
but when i write this program to cd it isn't work correctly it gets me error and the program crashed
should i do sth elsE?
or should i create a .dmg file?
Creating a DMG doesn't cure the crash.
Where do you run the application? On your developer workstation or some other Mac?
You then should investigate what's going wrong with the plain application bundle. You don't need to put it into a DMG or CD image.
Just run the macdeployqt processed bundle in the debugger and look where it crashes.
ok i will check it , but it works fine on hard , when i write it to cd via windows it doesn't run correctly,
Do you happen to write somewhere on the disk in you application and try to open/read that later on? That would explain why it works on the file system, but not on read-only media.
i write only in temp folder and in my directory i only read and don't write any thing
sorry again, i have a question
can be the problem for this code?i trace my code and i thoungt it can be for this
@ QDir dir = new QDir("Data/Note");
filters << ".html" << "*.htm";
myfiles = dir->entryList(QDir::Files);
khandaniha_count = 0;
the data folder is near of my program
i found the problem, my dir was NOTE with uppercase letter i was wrote it with lowercase
Glad you found your issue.
Be sure and edit the title of your post to add [Solved] to the beginning! Thanks!