Qtopia-2.2.0 console Problems

Source: Internet
Author: User
Embededkonsole does not normally modify the embeddedkonsole. Pro file, modify the red part, add the specified platform, or simply remove the platform designation. Contains (qmake_arch, x86) | contains (qmake_arch, generic) | contains (qmake_arch, ipaq) | contains (qmake_arch, sharp) {libs + =-lutil defines + = have_openpty} src/Server/main. CPP # else // single_exec # include <string. h> # include <sys/STAT. h> # include <fcntl. h> # include <unistd. h> void docalibrate () {const char * mouse_protocol =: getenv ("qws_mouse_proto"); If (mouse_protocol = 0) {return;} If (strstr (mouse_pro Tocol, "tpanel") = 0) {return;} If (qfile: exists ("/etc/pointercal") {return;} pid_t PID; pid = :: fork (); If (PID <0) {perror ("create Process"); exit (1);} If (pid = 0) {execl ("/usr/local/bin/ts_calibrate", "ts_calibrate", 0);} else if (pid> 0) {waitpid (PID, 0, 0 );} if (! Qfile: exists ("/etc/pointercal") {fprintf (stderr, "cannot calibrate touch screen \ n") ;}} int main (INT argc, char ** argv) {# endif // single_exec signal (sigchld, sig_ign); signal (sigusr2, sig_ign); docalibrate (); int retval = initapplication (argc, argv );

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.