How to get output Screen
-
Actually, to my knowledge, the previous developers have developed the code using QtCreator only. apart from that how can i make sure it is completely Qt COde?
@Arasu Looking at this output
b77ea000-b77eb000 r--p 002c0000 08:01 1966228 /usr/lib/locale/locale-archive b77eb000-b77ed000 rw-p 00000000 00:00 0 bfaa8000-bfac9000 rw-p 00000000 00:00 0 [stack] The program has unexpectedly finished. /home/dyansys/Desktop/ECScope/ecg12i-build-desktop-Qt_4_8_1_in_PATH__System__Release/ecg12i exited with code 0
The code does compiles properly but seems it crashes at some point during runtime. Something related to
locale
perhaps. You will need to debug it. -
Thank you!
Shall i know how to debug the code in QT creator? Why because previously the project created in QT creator version 4.3, but now i am using version 4.8, this version deprecated some of the default methods.
-
Now im trying both linux and windows, but both environment i am getting same issue, can you suggest for windows.
-
@Arasu According to this there is no official port for Windows. Check Qt_creator_windows_debugging for windows. Sorry but I'm not much into Windows.
-
Hello Friend!
Now i am working windows platform, got this error
..\ecg12i_backup\PatientList.cpp: In function 'void on_Patient_Info_List_Screen_show(PATIENT_LIST*)':
..\ecg12i_backup\PatientList.cpp:93:47: error: 'alphasort' was not declared in this scope
n = scandir(PATIENTINFODIRLOC, &namelist, 0, alphasort); //It scans for files in Directory PATIENTINFODIRLOC and put it in namelist
^
..\ecg12i_backup\PatientList.cpp:93:56: error: 'scandir' cannot be used as a function
n = scandir(PATIENTINFODIRLOC, &namelist, 0, alphasort); //It scans for files in Directory PATIENTINFODIRLOC and put it in namelist
^
..\ecg12i_backup\PatientList.cpp:102:40: error: 'rindex' cannot be used as a function
ptr = rindex(namelist[n]->d_name, '.'); -
Hello Friend!
Now i am working windows platform, got this error
..\ecg12i_backup\PatientList.cpp: In function 'void on_Patient_Info_List_Screen_show(PATIENT_LIST*)':
..\ecg12i_backup\PatientList.cpp:93:47: error: 'alphasort' was not declared in this scope
n = scandir(PATIENTINFODIRLOC, &namelist, 0, alphasort); //It scans for files in Directory PATIENTINFODIRLOC and put it in namelist
^
..\ecg12i_backup\PatientList.cpp:93:56: error: 'scandir' cannot be used as a function
n = scandir(PATIENTINFODIRLOC, &namelist, 0, alphasort); //It scans for files in Directory PATIENTINFODIRLOC and put it in namelist
^
..\ecg12i_backup\PatientList.cpp:102:40: error: 'rindex' cannot be used as a function
ptr = rindex(namelist[n]->d_name, '.');