[TASK] Add instructions to build for arch linux.
This commit is contained in:
parent
18807593c4
commit
9a7dce82b1
|
@ -3,8 +3,17 @@ This repository contains a small QT4/C++ based project which implements basic im
|
|||
|
||||
# Building and running
|
||||
|
||||
This project requires qt4 to build and run:
|
||||
<pre>
|
||||
qmake
|
||||
make
|
||||
./imageviewer-qt4
|
||||
</pre>
|
||||
|
||||
|
||||
For Arch Linux, there is qtchooser.
|
||||
Using it, you can use
|
||||
<pre>
|
||||
QT_SELECT=4 qmake
|
||||
</pre>
|
||||
to create the Makefile.
|
||||
|
|
|
@ -1,15 +1,15 @@
|
|||
HEADERS = imageviewer-qt4.h
|
||||
SOURCES = imageviewer-qt4.cpp \
|
||||
HEADERS = imageviewer-qt4.h
|
||||
SOURCES = imageviewer-qt4.cpp \
|
||||
imageviewer-main-qt4.cpp
|
||||
|
||||
# install
|
||||
target.path = $$[QT_INSTALL_EXAMPLES]/widgets/imageviewer
|
||||
sources.files = $$SOURCES $$HEADERS $$RESOURCES $$FORMS imageviewer.pro
|
||||
sources.path = $$[QT_INSTALL_EXAMPLES]/widgets/imageviewer
|
||||
INSTALLS += target sources
|
||||
# install
|
||||
target.path = $$[QT_INSTALL_EXAMPLES]/widgets/imageviewer
|
||||
sources.files = $$SOURCES $$HEADERS $$RESOURCES $$FORMS imageviewer.pro
|
||||
sources.path = $$[QT_INSTALL_EXAMPLES]/widgets/imageviewer
|
||||
INSTALLS += target sources
|
||||
|
||||
symbian: include($$QT_SOURCE_TREE/examples/symbianpkgrules.pri)
|
||||
symbian: include($$QT_SOURCE_TREE/examples/symbianpkgrules.pri)
|
||||
|
||||
wince*: {
|
||||
wince*: {
|
||||
DEPLOYMENT_PLUGIN += qjpeg qmng qgif
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue