Solaris 10 cc compiling QT 4.8.6 slave

Source: Internet
Author: User
Zookeeper

Configure:

. /Configure-no-qt3support-nomake demos-nomake examples-nomake test-release-platform Solaris-CC-Prefix/export/home/APP/QT/4.8.6-L/opt/sunwmlib/lib -L/opt/sunwits/graphics-Sw/xil/lib-I/opt/sunwmlib/include-I/usr/lib/gnome-private/lib/dbus-1.0/include-I /usr/lib/gnome-private/include/dbus-1.0-WebKit-declarative-script

The result is script, declarative, and WebKit or not compiled.

Regardless of this, after configure is complete, execute dmake to compile the GUI modular error. The error source file is qfiledialog. CPP, the Code (884 ~ Row 888) is modified as follows:

// # If defined (q_ OS _solaris) & defined (_ posix_c_source) & (_ posix_c_source-0 <199506l)
Tmppw = getpwnam_r (username. tolocal8bit (). constdata (), & PW, Buf, bufsize );
/* # Else
Err = getpwnam_r (username. tolocal8bit (). constdata (), & PW, Buf, bufsize, & tmppw );
# Endif */

Continue compilation. After dmake is complete, run dmake install.

Then, go to the script, scripttools, declarative, and phonon directory under SRC to compile (dmake, dmake install)

Go to the scripts under SRC, modify qdbusunixfiledescriptor. H, add the Code # UNDEF qt_no_dependencies before # ifndef qt_no_dependencies, and then compile (dmake, dmake install)


Let's talk about it first.

Solaris 10 cc compiling QT 4.8.6 slave

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.