[Qt-interest] Qmake problem with installing compiled binaries
Casey Jones
jonescaseyb at gmail.com
Mon Jul 6 03:01:38 CEST 2009
I'm using qmake for my Qt project, and if I run qmake when the compiled
binary does not exist, and the I compile it with make, and run make install
as root it does not install the binary. It installs the icon file and the
.desktop file, but not the compiled binary.
If I run qmake again when the binary exists, it installs it just fine.
Do I have to d anything special to get it to add files that don't exist to
the Makefile it creates?
Here is my .pro file:
>TEMPLATE = app
>DESTDIR = bin
>TARGET = kajammer
>VERSION = 0.46
>CONFIG -= debug_and_release
>CONFIG += debug
>QT = core gui phonon
>
>SOURCES += src/mainwindow.cpp src/mediacontrols.cpp src/controller.cpp
src/menubar.cpp src/main.cpp
>src/playlist.cpp src/cli.cpp src/optionsPanel.cpp src/options.cpp
src/playlistEditor.cpp src/widget
>/togglebutton.cpp src/trayicon.cpp
>
>HEADERS += src/headers/menubar.h src/headers/mainwindow.h
src/headers/mediacontrols.h src/headers
>/controller.h src/headers/playlist.h src/headers/cli.h
src/headers/optionsPanel.h src/headers/options.h
>src/headers/playlistEditor.h src/widgets/togglebutton.h
src/headers/trayicon.h
>
>FORMS +=
>RESOURCES +=
>TRANSLATIONS +=
>OBJECTS_DIR = build
>MOC_DIR = moc/
>RCC_DIR =
>UI_DIR =
>QMAKE_CC = gcc
>QMAKE_CXX = g++
>DEFINES +=
>INCLUDEPATH += /usr/include/qt4
>LIBS +=
>bintarget.path = /usr/bin
>bintarget.files = bin/kajammer
>menu.path = /usr/share/applications
>menu.files = res/kajammer.desktop
>icon.path = /usr/share/icons
>icon.files = res/kajammer.png
>INSTALLS += bintarget menu icon
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.qt-project.org/pipermail/qt-interest-old/attachments/20090705/3f9f2219/attachment.html
More information about the Qt-interest-old
mailing list