How to install qt application in /opt
-
i want to install my qt application in app i want to take part in ubuntu app show down contest and the rule is application must be installed to /opt http://developer.ubuntu.com/showdown after asking on askubuntu
http://askubuntu.com/questions/152464/how-to-run-our-application-in-opt
i got that i will have to state it how do i do this
by default most frameworks install to /usr/share
in my build steps it shows qmake and then make please tell me a trusted way to do that i dont want at the deployment my application is rejected and it should also be easily compiled into a debi want to use qt with qt creator and c++ because it suits me well -
You have to tell qmake where to install your application http://qt-project.org/doc/qt-4.8/qmake-environment-reference.html#installs .
Also remember to install every file your application depends on. -
after update here is my pro file is it ok:
@#-------------------------------------------------Project created by QtCreator 2012-05-30T18:47:13
#-------------------------------------------------
QT += core gui webkit sql
TARGET = letssee
TEMPLATE = appdocumentation.path = /opt
documentation.files = docs/*
INSTALLS+=documentation
SOURCES += main.cpp
mainwindow.cpp
webview.cpp
cuteurl.cpp
tabwidget.cpp
searchbar.cpp
searchenginebox.cpp
historymanager/historymanager.cppHEADERS += mainwindow.h
webview.h
cuteurl.h
tabwidget.h
searchbar.h
searchenginebox.h
historymanager/historymanager.hFORMS += mainwindow.ui
@