install

On Linux/Unix, you need to make the file executable in order to run it. You can either do this with your desktop's file manager or, at the command line, type:

chmod u+x qt-sdk-linux-x86-opensource-2009.03.1.bin

You should now be able to execute the file as normal. You can do this from the command line by typing:

./qt-sdk-linux-x86-opensource-2009.03.1.bin

tips

Build a project named helloworld after installed QtCreator, and may meet some errors when compile it.

the first error

/usr/bin/ld: cannot find -lfreetype

collect2: ld return 1

make[1]: *** [text] error 1

make[1]:leaving directory `/home/noah/qtWorkPlace/text'

make:left directory“/home/noah/qtWorkPlace/text”

make: *** [debug] error 2

Exited with code 2.

Error while building project text

When executing build step 'Make'

resolution

To Synaptic Package Manager,search freetype,install libfreetype6-dev.

the second error

/usr/bin/ld: cannot find -lgobject-2.0

collect2: ld return 1

make[1]:leaving directory `/home/noah/qtWorkPlace/text'

make:left directory“/home/noah/qtWorkPlace/text”

make[1]: *** [text]error 1

make: *** [debug] error 2

Exited with code 2.

Error while building project text

When executing build step 'Make'

resolution

To Synaptic Package Manager, find gobject, install libavahi-gobject-dev

the third error

/usr/bin/ld: cannot find -lSM

collect2: ld return 1

make[1]:leaving directory `/home/noah/qtWorkPlace/text'

make[1]: *** [text] error 1

make: *** [debug] error 2

make:left directory“/home/noah/qtWorkPlace/text”

Exited with code 2.

Error while building project text

When executing build step 'Make'

resolution

To Synaptic Package Manager,install libsm-dev

the fourth error

/usr/bin/ld: cannot find -lXrender

collect2: ld return 1

make[1]: *** [text] error 1

make[1]:leaving directory `/home/noah/qtWorkPlace/text'

make:left directory“/home/noah/qtWorkPlace/text”

make: *** [debug] error 2

Exited with code 2.

Error while building project text

When executing build step 'Make'

resolution

To Synaptic Package Manager,install libxrender-dev

the fifth error

/usr/bin/ld: cannot find -lfontconfig

collect2: ld return 1

make[1]:leaving directory `/home/noah/qtWorkPlace/text'

make:left directory“/home/noah/qtWorkPlace/text”

make[1]: *** [text] error 1

make: *** [debug] error 2

Exited with code 2.

Error while building project text

When executing build step 'Make'

resolution

To Synaptic Package Manager,install libfontconfig1-dev

the sixth error

/usr/bin/ld: cannot find -lXext

collect2: ld return 1

make[1]:leaving directory `/home/noah/qtWorkPlace/text'

make:left directory“/home/noah/qtWorkPlace/text”

make[1]: *** [text] error 1

make: *** [debug] error 2

Exited with code 2.

Error while building project text

When executing build step 'Make'

resolution

To Synaptic Package Manager,install libxext-dev

Finally, all errors disappear!