Message ID | 20121127163037.3f619184@skate |
---|---|
State | Not Applicable |
Headers | show |
I've tried patch, you submitted, and then make qt-reconfigure and receive strange error about include folders. Same error I had earlier when trying with deleting stamp files (when added some options regarding Qt in Buildroot's menuconfig), and in that case I had to do make clean all. But if I do so, now, I think I will loose my patched files (am I right ?) What to do then ?
Dear Zoran Djordjevic, On Wed, 28 Nov 2012 03:36:44 -0800 (PST), Zoran Djordjevic wrote: > I've tried patch, you submitted, and then make qt-reconfigure and qt-reconfigure will not re-extract the source code and apply the patches, so it is not appropriate. If you want to rebuild a package from scratch, including extracting the package and applying the patches, do: make qt-dirclean > receive strange error about include folders. Same error I had > earlier when trying with deleting stamp files (when added some > options regarding Qt in Buildroot's menuconfig), and in that case > I had to do make clean all. But if I do so, now, I think I will loose my > patched files (am I right ?) If you made changes to output/build/<something>/, yes, you will loose your changes. But you shouldn't be making any change in output/build/<something>/ Thomas
Probably, because of being unfamiliar with svn, I made some mistake. I directly changed the source code, according to patch file, you submitted (it is easy to understand the procedure) , and then do qt-reconfigure. Also, the only one file qkbdlinuxinput_qws.cpp, after building root file system is at .../output/build... directory, so what file should I change ? If I made a mistake with such procedure, can you tell me what is regular procedure ? Regards
--- qt-4.7.3.orig/src/gui/embedded/qkbdlinuxinput_qws.cpp 2011-03-30 07:19:04.000000000 +0200 +++ qt-4.7.3/src/gui/embedded/qkbdlinuxinput_qws.cpp 2011-09-12 18:22:52.978846803 +0200 @@ -127,7 +127,7 @@ // play nice in case we are started from a shell (e.g. for debugging) m_tty_fd = isatty(0) ? 0 : -1; - +#if 0 if (m_tty_fd >= 0) { // save tty config for restore. tcgetattr(m_tty_fd, &m_tty_attr); @@ -154,6 +154,7 @@ cfsetospeed(&termdata, 9600); tcsetattr(m_tty_fd, TCSANOW, &termdata); } +#endif } else { qWarning("Cannot open keyboard input device '%s': %s", qPrintable(dev), strerror(errno)); return;