Реквестирую какой-нибудь аналог sendxmpp или hatexmpp, который осиливает работать с гуглотолком.
хм, это повод проверить работоспособность qsendxmpp. Правда, я сомневаюсь, что в случае успеха ты потащишь Qt в систему.
У меня стоит qt.
Значит сегодня или завтра на досуге запилю.
Gajim, не?
У него cli?
Ожидаю с нетерпением.
Пящргх. Написал. Срёт успешно.
git://github.com/Like-all/qsendxmpp.git
main.cpp:1:32: фатальная ошибка: QXmppConfiguration.h: Нет такого файла или каталога
git://github.com/0xd34df00d/qxmpp-dev.gi...
ДЕДФУД
Ухты, в ::gentoo есть.
СОБИРАЙ. И не забудь закомментировать Speex в src.pro.
Даже шлангом собралось. Дедфуд — хороший, годный быдлокодер.
Эй. Поставил qxmpp, всё равно вопит.
> -I/usr/local/include/qxmppА ты знаешь, что ты тупой мудак?
Знаю. Тебе от этого легче?
Нет. Сделай человеческое определение пути к хидерам.
Done
‰ git pullAlready up-to-date.
Ещё раз пробуй.
Ну и что за бред ты понаписал?
Покажи мне, что значит по-человечески. У меня всё работает.
Спроси у этого своего дедфуда, как идеологически-верно получать пути к установленным инклудам и либе. Там у него pkg-config поди.
Я cmake дергаю.
R.
А, тут кумейк же нужен. Как в кумейке — не ебу :(
From 09ea24a10f3d10a97038c266e4b8f585e97c4800 Mon Sep 17 00:00:00 2001From: Sergey Alirzaev <zl29ah@gmail.com>Date: Thu, 5 Apr 2012 12:54:13 +0400Subject: [PATCH] Sanitized the build system--- .gitignore | 4 + Makefile | 212 --------------------------------------------------------- README | 4 + qsendxmpp.pro | 8 +-- 4 files changed, 10 insertions(+), 218 deletions(-) create mode 100644 .gitignore delete mode 100644 Makefile create mode 100644 READMEdiff --git a/.gitignore b/.gitignorenew file mode 100644index 0000000..0297221--- /dev/null+++ b/.gitignore@@ -0,0 +1,4 @@+*.o+moc_*+qsendxmpp+Makefilediff --git a/Makefile b/Makefiledeleted file mode 100644index 81f3032..0000000--- a/Makefile+++ /dev/null@@ -1,212 +0,0 @@-#############################################################################-# Makefile for building: qsendxmpp-# Generated by qmake (2.01a) (Qt 4.6.2) on: Tue Apr 3 17:18:19 2012-# Project: qsendxmpp.pro-# Template: app-# Command: /usr/bin/qmake -unix -o Makefile qsendxmpp.pro-#############################################################################--####### Compiler, tools and options--CC = gcc-CXX = g++-DEFINES = -DQT_NO_DEBUG -DQT_XML_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -DQT_SHARED-CFLAGS = -pipe -O2 -Wall -W -D_REENTRANT $(DEFINES)-CXXFLAGS = -pipe -O2 -Wall -W -D_REENTRANT $(DEFINES)-INCPATH = -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtNetwork -I/usr/include/qt4/QtXml -I/usr/include/qt4 -I. -I/usr/local/include/qxmpp -I/usr/lib/qxmpp -I.-LINK = g++-LFLAGS = -Wl,-O1-LIBS = $(SUBLIBS) -L/usr/lib -L/usr/local/lib -L/usr/lib -lqxmpp -lQtXml -lQtNetwork -lQtCore -lpthread -AR = ar cqs-RANLIB = -QMAKE = /usr/bin/qmake-TAR = tar -cf-COMPRESS = gzip -9f-COPY = cp -f-SED = sed-COPY_FILE = $(COPY)-COPY_DIR = $(COPY) -r-STRIP = strip-INSTALL_FILE = install -m 644 -p-INSTALL_DIR = $(COPY_DIR)-INSTALL_PROGRAM = install -m 755 -p-DEL_FILE = rm -f-SYMLINK = ln -f -s-DEL_DIR = rmdir-MOVE = mv -f-CHK_DIR_EXISTS= test -d-MKDIR = mkdir -p--####### Output directory--OBJECTS_DIR = ./--####### Files--SOURCES = main.cpp \- qsendxmpp.cpp moc_qsendxmpp.cpp-OBJECTS = main.o \- qsendxmpp.o \- moc_qsendxmpp.o-DIST = /usr/share/qt4/mkspecs/common/g++.conf \- /usr/share/qt4/mkspecs/common/unix.conf \- /usr/share/qt4/mkspecs/common/linux.conf \- /usr/share/qt4/mkspecs/qconfig.pri \- /usr/share/qt4/mkspecs/features/qt_functions.prf \- /usr/share/qt4/mkspecs/features/qt_config.prf \- /usr/share/qt4/mkspecs/features/exclusive_builds.prf \- /usr/share/qt4/mkspecs/features/default_pre.prf \- /usr/share/qt4/mkspecs/features/release.prf \- /usr/share/qt4/mkspecs/features/default_post.prf \- /usr/share/qt4/mkspecs/features/warn_on.prf \- /usr/share/qt4/mkspecs/features/qt.prf \- /usr/share/qt4/mkspecs/features/unix/thread.prf \- /usr/share/qt4/mkspecs/features/moc.prf \- /usr/share/qt4/mkspecs/features/resources.prf \- /usr/share/qt4/mkspecs/features/uic.prf \- /usr/share/qt4/mkspecs/features/yacc.prf \- /usr/share/qt4/mkspecs/features/lex.prf \- /usr/share/qt4/mkspecs/features/include_source_dir.prf \- qsendxmpp.pro-QMAKE_TARGET = qsendxmpp-DESTDIR = -TARGET = qsendxmpp--first: all-####### Implicit rules--.SUFFIXES: .o .c .cpp .cc .cxx .C--.cpp.o:- $(CXX) -c $(CXXFLAGS) $(INCPATH) -o "$@" "$<"--.cc.o:- $(CXX) -c $(CXXFLAGS) $(INCPATH) -o "$@" "$<"--.cxx.o:- $(CXX) -c $(CXXFLAGS) $(INCPATH) -o "$@" "$<"--.C.o:- $(CXX) -c $(CXXFLAGS) $(INCPATH) -o "$@" "$<"--.c.o:- $(CC) -c $(CFLAGS) $(INCPATH) -o "$@" "$<"--####### Build rules--all: Makefile $(TARGET)--$(TARGET): $(OBJECTS) - $(LINK) $(LFLAGS) -o $(TARGET) $(OBJECTS) $(OBJCOMP) $(LIBS)--Makefile: qsendxmpp.pro /usr/share/qt4/mkspecs/linux-g++/qmake.conf /usr/share/qt4/mkspecs/common/g++.conf \- /usr/share/qt4/mkspecs/common/unix.conf \- /usr/share/qt4/mkspecs/common/linux.conf \- /usr/share/qt4/mkspecs/qconfig.pri \- /usr/share/qt4/mkspecs/features/qt_functions.prf \- /usr/share/qt4/mkspecs/features/qt_config.prf \- /usr/share/qt4/mkspecs/features/exclusive_builds.prf \- /usr/share/qt4/mkspecs/features/default_pre.prf \- /usr/share/qt4/mkspecs/features/release.prf \- /usr/share/qt4/mkspecs/features/default_post.prf \- /usr/share/qt4/mkspecs/features/warn_on.prf \- /usr/share/qt4/mkspecs/features/qt.prf \- /usr/share/qt4/mkspecs/features/unix/thread.prf \- /usr/share/qt4/mkspecs/features/moc.prf \- /usr/share/qt4/mkspecs/features/resources.prf \- /usr/share/qt4/mkspecs/features/uic.prf \- /usr/share/qt4/mkspecs/features/yacc.prf \- /usr/share/qt4/mkspecs/features/lex.prf \- /usr/share/qt4/mkspecs/features/include_source_dir.prf \- /usr/lib/libQtXml.prl \- /usr/lib/libQtNetwork.prl \- /usr/lib/libQtCore.prl- $(QMAKE) -unix -o Makefile qsendxmpp.pro-/usr/share/qt4/mkspecs/common/g++.conf:-/usr/share/qt4/mkspecs/common/unix.conf:-/usr/share/qt4/mkspecs/common/linux.conf:-/usr/share/qt4/mkspecs/qconfig.pri:-/usr/share/qt4/mkspecs/features/qt_functions.prf:-/usr/share/qt4/mkspecs/features/qt_config.prf:-/usr/share/qt4/mkspecs/features/exclusive_builds.prf:-/usr/share/qt4/mkspecs/features/default_pre.prf:-/usr/share/qt4/mkspecs/features/release.prf:-/usr/share/qt4/mkspecs/features/default_post.prf:-/usr/share/qt4/mkspecs/features/warn_on.prf:-/usr/share/qt4/mkspecs/features/qt.prf:-/usr/share/qt4/mkspecs/features/unix/thread.prf:-/usr/share/qt4/mkspecs/features/moc.prf:-/usr/share/qt4/mkspecs/features/resources.prf:-/usr/share/qt4/mkspecs/features/uic.prf:-/usr/share/qt4/mkspecs/features/yacc.prf:-/usr/share/qt4/mkspecs/features/lex.prf:-/usr/share/qt4/mkspecs/features/include_source_dir.prf:-/usr/lib/libQtXml.prl:-/usr/lib/libQtNetwork.prl:-/usr/lib/libQtCore.prl:-qmake: FORCE- @$(QMAKE) -unix -o Makefile qsendxmpp.pro--dist: - @$(CHK_DIR_EXISTS) .tmp/qsendxmpp1.0.0 || $(MKDIR) .tmp/qsendxmpp1.0.0 - $(COPY_FILE) --parents $(SOURCES) $(DIST) .tmp/qsendxmpp1.0.0/ && $(COPY_FILE) --parents qsendxmpp.h .tmp/qsendxmpp1.0.0/ && $(COPY_FILE) --parents main.cpp qsendxmpp.cpp .tmp/qsendxmpp1.0.0/ && (cd `dirname .tmp/qsendxmpp1.0.0` && $(TAR) qsendxmpp1.0.0.tar qsendxmpp1.0.0 && $(COMPRESS) qsendxmpp1.0.0.tar) && $(MOVE) `dirname .tmp/qsendxmpp1.0.0`/qsendxmpp1.0.0.tar.gz . && $(DEL_FILE) -r .tmp/qsendxmpp1.0.0---clean:compiler_clean - -$(DEL_FILE) $(OBJECTS)- -$(DEL_FILE) *~ core *.core---####### Sub-libraries--distclean: clean- -$(DEL_FILE) $(TARGET) - -$(DEL_FILE) Makefile---mocclean: compiler_moc_header_clean compiler_moc_source_clean--mocables: compiler_moc_header_make_all compiler_moc_source_make_all--compiler_moc_header_make_all: moc_qsendxmpp.cpp-compiler_moc_header_clean:- -$(DEL_FILE) moc_qsendxmpp.cpp-moc_qsendxmpp.cpp: qsendxmpp.h- /usr/bin/moc-qt4 $(DEFINES) $(INCPATH) qsendxmpp.h -o moc_qsendxmpp.cpp--compiler_rcc_make_all:-compiler_rcc_clean:-compiler_image_collection_make_all: qmake_image_collection.cpp-compiler_image_collection_clean:- -$(DEL_FILE) qmake_image_collection.cpp-compiler_moc_source_make_all:-compiler_moc_source_clean:-compiler_uic_make_all:-compiler_uic_clean:-compiler_yacc_decl_make_all:-compiler_yacc_decl_clean:-compiler_yacc_impl_make_all:-compiler_yacc_impl_clean:-compiler_lex_make_all:-compiler_lex_clean:-compiler_clean: compiler_moc_header_clean --####### Compile--main.o: main.cpp qsendxmpp.h- $(CXX) -c $(CXXFLAGS) $(INCPATH) -o main.o main.cpp--qsendxmpp.o: qsendxmpp.cpp qsendxmpp.h- $(CXX) -c $(CXXFLAGS) $(INCPATH) -o qsendxmpp.o qsendxmpp.cpp--moc_qsendxmpp.o: moc_qsendxmpp.cpp - $(CXX) -c $(CXXFLAGS) $(INCPATH) -o moc_qsendxmpp.o moc_qsendxmpp.cpp--####### Install--install: FORCE--uninstall: FORCE--FORCE:-diff --git a/README b/READMEnew file mode 100644index 0000000..83071ab--- /dev/null+++ b/README@@ -0,0 +1,4 @@+To compile qsendxmpp, install gcc, qmake and qxmpp and execute:++qmake+makediff --git a/qsendxmpp.pro b/qsendxmpp.proindex 3684b97..af28c3b 100644--- a/qsendxmpp.pro+++ b/qsendxmpp.pro@@ -1,13 +1,9 @@-######################################################################-# Automatically generated by qmake (2.01a) ?? ???. 15 21:44:28 2012-######################################################################- TEMPLATE = app TARGET = DEPENDPATH += . INCLUDEPATH += .-INCLUDEPATH += /usr/local/include/qxmpp /usr/lib/qxmpp-LIBS += -L/usr/local/lib -L/usr/lib -lqxmpp+CONFIG += link_pkgconfig+PKGCONFIG += qxmpp QT += network xml QT -= gui-- 1.7.8.5
Передавать пароль в аргументах командной строки архинесекьюрно.
А, вообще, работает; чмоке тебе и дедфудяке.
:************
хм, это повод проверить работоспособность qsendxmpp. Правда, я сомневаюсь, что в случае успеха ты потащишь Qt в систему.
У меня стоит qt.
Значит сегодня или завтра на досуге запилю.
Gajim, не?
У него cli?
Ожидаю с нетерпением.
Пящргх. Написал. Срёт успешно.
git://github.com/Like-all/qsendxmpp.git
main.cpp:1:32: фатальная ошибка: QXmppConfiguration.h: Нет такого файла или каталога
git://github.com/0xd34df00d/qxmpp-dev.gi...
ДЕДФУД
Ухты, в ::gentoo есть.
СОБИРАЙ. И не забудь закомментировать Speex в src.pro.
Даже шлангом собралось. Дедфуд — хороший, годный быдлокодер.
Эй. Поставил qxmpp, всё равно вопит.
> -I/usr/local/include/qxmpp
А ты знаешь, что ты тупой мудак?
Знаю. Тебе от этого легче?
Нет. Сделай человеческое определение пути к хидерам.
Done
‰ git pull
Already up-to-date.
Ещё раз пробуй.
Ну и что за бред ты понаписал?
Покажи мне, что значит по-человечески. У меня всё работает.
Спроси у этого своего дедфуда, как идеологически-верно получать пути к установленным инклудам и либе. Там у него pkg-config поди.
Я cmake дергаю.
R.
А, тут кумейк же нужен. Как в кумейке — не ебу :(
From 09ea24a10f3d10a97038c266e4b8f585e97c4800 Mon Sep 17 00:00:00 2001
From: Sergey Alirzaev <zl29ah@gmail.com>
Date: Thu, 5 Apr 2012 12:54:13 +0400
Subject: [PATCH] Sanitized the build system
---
.gitignore | 4 +
Makefile | 212 ---------------------------------------------------------
README | 4 +
qsendxmpp.pro | 8 +--
4 files changed, 10 insertions(+), 218 deletions(-)
create mode 100644 .gitignore
delete mode 100644 Makefile
create mode 100644 README
diff --git a/.gitignore b/.gitignore
new file mode 100644
index 0000000..0297221
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1,4 @@
+*.o
+moc_*
+qsendxmpp
+Makefile
diff --git a/Makefile b/Makefile
deleted file mode 100644
index 81f3032..0000000
--- a/Makefile
+++ /dev/null
@@ -1,212 +0,0 @@
-#############################################################################
-# Makefile for building: qsendxmpp
-# Generated by qmake (2.01a) (Qt 4.6.2) on: Tue Apr 3 17:18:19 2012
-# Project: qsendxmpp.pro
-# Template: app
-# Command: /usr/bin/qmake -unix -o Makefile qsendxmpp.pro
-#############################################################################
-
-####### Compiler, tools and options
-
-CC = gcc
-CXX = g++
-DEFINES = -DQT_NO_DEBUG -DQT_XML_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -DQT_SHARED
-CFLAGS = -pipe -O2 -Wall -W -D_REENTRANT $(DEFINES)
-CXXFLAGS = -pipe -O2 -Wall -W -D_REENTRANT $(DEFINES)
-INCPATH = -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtNetwork -I/usr/include/qt4/QtXml -I/usr/include/qt4 -I. -I/usr/local/include/qxmpp -I/usr/lib/qxmpp -I.
-LINK = g++
-LFLAGS = -Wl,-O1
-LIBS = $(SUBLIBS) -L/usr/lib -L/usr/local/lib -L/usr/lib -lqxmpp -lQtXml -lQtNetwork -lQtCore -lpthread
-AR = ar cqs
-RANLIB =
-QMAKE = /usr/bin/qmake
-TAR = tar -cf
-COMPRESS = gzip -9f
-COPY = cp -f
-SED = sed
-COPY_FILE = $(COPY)
-COPY_DIR = $(COPY) -r
-STRIP = strip
-INSTALL_FILE = install -m 644 -p
-INSTALL_DIR = $(COPY_DIR)
-INSTALL_PROGRAM = install -m 755 -p
-DEL_FILE = rm -f
-SYMLINK = ln -f -s
-DEL_DIR = rmdir
-MOVE = mv -f
-CHK_DIR_EXISTS= test -d
-MKDIR = mkdir -p
-
-####### Output directory
-
-OBJECTS_DIR = ./
-
-####### Files
-
-SOURCES = main.cpp \
- qsendxmpp.cpp moc_qsendxmpp.cpp
-OBJECTS = main.o \
- qsendxmpp.o \
- moc_qsendxmpp.o
-DIST = /usr/share/qt4/mkspecs/common/g++.conf \
- /usr/share/qt4/mkspecs/common/unix.conf \
- /usr/share/qt4/mkspecs/common/linux.conf \
- /usr/share/qt4/mkspecs/qconfig.pri \
- /usr/share/qt4/mkspecs/features/qt_functions.prf \
- /usr/share/qt4/mkspecs/features/qt_config.prf \
- /usr/share/qt4/mkspecs/features/exclusive_builds.prf \
- /usr/share/qt4/mkspecs/features/default_pre.prf \
- /usr/share/qt4/mkspecs/features/release.prf \
- /usr/share/qt4/mkspecs/features/default_post.prf \
- /usr/share/qt4/mkspecs/features/warn_on.prf \
- /usr/share/qt4/mkspecs/features/qt.prf \
- /usr/share/qt4/mkspecs/features/unix/thread.prf \
- /usr/share/qt4/mkspecs/features/moc.prf \
- /usr/share/qt4/mkspecs/features/resources.prf \
- /usr/share/qt4/mkspecs/features/uic.prf \
- /usr/share/qt4/mkspecs/features/yacc.prf \
- /usr/share/qt4/mkspecs/features/lex.prf \
- /usr/share/qt4/mkspecs/features/include_source_dir.prf \
- qsendxmpp.pro
-QMAKE_TARGET = qsendxmpp
-DESTDIR =
-TARGET = qsendxmpp
-
-first: all
-####### Implicit rules
-
-.SUFFIXES: .o .c .cpp .cc .cxx .C
-
-.cpp.o:
- $(CXX) -c $(CXXFLAGS) $(INCPATH) -o "$@" "$<"
-
-.cc.o:
- $(CXX) -c $(CXXFLAGS) $(INCPATH) -o "$@" "$<"
-
-.cxx.o:
- $(CXX) -c $(CXXFLAGS) $(INCPATH) -o "$@" "$<"
-
-.C.o:
- $(CXX) -c $(CXXFLAGS) $(INCPATH) -o "$@" "$<"
-
-.c.o:
- $(CC) -c $(CFLAGS) $(INCPATH) -o "$@" "$<"
-
-####### Build rules
-
-all: Makefile $(TARGET)
-
-$(TARGET): $(OBJECTS)
- $(LINK) $(LFLAGS) -o $(TARGET) $(OBJECTS) $(OBJCOMP) $(LIBS)
-
-Makefile: qsendxmpp.pro /usr/share/qt4/mkspecs/linux-g++/qmake.conf /usr/share/qt4/mkspecs/common/g++.conf \
- /usr/share/qt4/mkspecs/common/unix.conf \
- /usr/share/qt4/mkspecs/common/linux.conf \
- /usr/share/qt4/mkspecs/qconfig.pri \
- /usr/share/qt4/mkspecs/features/qt_functions.prf \
- /usr/share/qt4/mkspecs/features/qt_config.prf \
- /usr/share/qt4/mkspecs/features/exclusive_builds.prf \
- /usr/share/qt4/mkspecs/features/default_pre.prf \
- /usr/share/qt4/mkspecs/features/release.prf \
- /usr/share/qt4/mkspecs/features/default_post.prf \
- /usr/share/qt4/mkspecs/features/warn_on.prf \
- /usr/share/qt4/mkspecs/features/qt.prf \
- /usr/share/qt4/mkspecs/features/unix/thread.prf \
- /usr/share/qt4/mkspecs/features/moc.prf \
- /usr/share/qt4/mkspecs/features/resources.prf \
- /usr/share/qt4/mkspecs/features/uic.prf \
- /usr/share/qt4/mkspecs/features/yacc.prf \
- /usr/share/qt4/mkspecs/features/lex.prf \
- /usr/share/qt4/mkspecs/features/include_source_dir.prf \
- /usr/lib/libQtXml.prl \
- /usr/lib/libQtNetwork.prl \
- /usr/lib/libQtCore.prl
- $(QMAKE) -unix -o Makefile qsendxmpp.pro
-/usr/share/qt4/mkspecs/common/g++.conf:
-/usr/share/qt4/mkspecs/common/unix.conf:
-/usr/share/qt4/mkspecs/common/linux.conf:
-/usr/share/qt4/mkspecs/qconfig.pri:
-/usr/share/qt4/mkspecs/features/qt_functions.prf:
-/usr/share/qt4/mkspecs/features/qt_config.prf:
-/usr/share/qt4/mkspecs/features/exclusive_builds.prf:
-/usr/share/qt4/mkspecs/features/default_pre.prf:
-/usr/share/qt4/mkspecs/features/release.prf:
-/usr/share/qt4/mkspecs/features/default_post.prf:
-/usr/share/qt4/mkspecs/features/warn_on.prf:
-/usr/share/qt4/mkspecs/features/qt.prf:
-/usr/share/qt4/mkspecs/features/unix/thread.prf:
-/usr/share/qt4/mkspecs/features/moc.prf:
-/usr/share/qt4/mkspecs/features/resources.prf:
-/usr/share/qt4/mkspecs/features/uic.prf:
-/usr/share/qt4/mkspecs/features/yacc.prf:
-/usr/share/qt4/mkspecs/features/lex.prf:
-/usr/share/qt4/mkspecs/features/include_source_dir.prf:
-/usr/lib/libQtXml.prl:
-/usr/lib/libQtNetwork.prl:
-/usr/lib/libQtCore.prl:
-qmake: FORCE
- @$(QMAKE) -unix -o Makefile qsendxmpp.pro
-
-dist:
- @$(CHK_DIR_EXISTS) .tmp/qsendxmpp1.0.0 || $(MKDIR) .tmp/qsendxmpp1.0.0
- $(COPY_FILE) --parents $(SOURCES) $(DIST) .tmp/qsendxmpp1.0.0/ && $(COPY_FILE) --parents qsendxmpp.h .tmp/qsendxmpp1.0.0/ && $(COPY_FILE) --parents main.cpp qsendxmpp.cpp .tmp/qsendxmpp1.0.0/ && (cd `dirname .tmp/qsendxmpp1.0.0` && $(TAR) qsendxmpp1.0.0.tar qsendxmpp1.0.0 && $(COMPRESS) qsendxmpp1.0.0.tar) && $(MOVE) `dirname .tmp/qsendxmpp1.0.0`/qsendxmpp1.0.0.tar.gz . && $(DEL_FILE) -r .tmp/qsendxmpp1.0.0
-
-
-clean:compiler_clean
- -$(DEL_FILE) $(OBJECTS)
- -$(DEL_FILE) *~ core *.core
-
-
-####### Sub-libraries
-
-distclean: clean
- -$(DEL_FILE) $(TARGET)
- -$(DEL_FILE) Makefile
-
-
-mocclean: compiler_moc_header_clean compiler_moc_source_clean
-
-mocables: compiler_moc_header_make_all compiler_moc_source_make_all
-
-compiler_moc_header_make_all: moc_qsendxmpp.cpp
-compiler_moc_header_clean:
- -$(DEL_FILE) moc_qsendxmpp.cpp
-moc_qsendxmpp.cpp: qsendxmpp.h
- /usr/bin/moc-qt4 $(DEFINES) $(INCPATH) qsendxmpp.h -o moc_qsendxmpp.cpp
-
-compiler_rcc_make_all:
-compiler_rcc_clean:
-compiler_image_collection_make_all: qmake_image_collection.cpp
-compiler_image_collection_clean:
- -$(DEL_FILE) qmake_image_collection.cpp
-compiler_moc_source_make_all:
-compiler_moc_source_clean:
-compiler_uic_make_all:
-compiler_uic_clean:
-compiler_yacc_decl_make_all:
-compiler_yacc_decl_clean:
-compiler_yacc_impl_make_all:
-compiler_yacc_impl_clean:
-compiler_lex_make_all:
-compiler_lex_clean:
-compiler_clean: compiler_moc_header_clean
-
-####### Compile
-
-main.o: main.cpp qsendxmpp.h
- $(CXX) -c $(CXXFLAGS) $(INCPATH) -o main.o main.cpp
-
-qsendxmpp.o: qsendxmpp.cpp qsendxmpp.h
- $(CXX) -c $(CXXFLAGS) $(INCPATH) -o qsendxmpp.o qsendxmpp.cpp
-
-moc_qsendxmpp.o: moc_qsendxmpp.cpp
- $(CXX) -c $(CXXFLAGS) $(INCPATH) -o moc_qsendxmpp.o moc_qsendxmpp.cpp
-
-####### Install
-
-install: FORCE
-
-uninstall: FORCE
-
-FORCE:
-
diff --git a/README b/README
new file mode 100644
index 0000000..83071ab
--- /dev/null
+++ b/README
@@ -0,0 +1,4 @@
+To compile qsendxmpp, install gcc, qmake and qxmpp and execute:
+
+qmake
+make
diff --git a/qsendxmpp.pro b/qsendxmpp.pro
index 3684b97..af28c3b 100644
--- a/qsendxmpp.pro
+++ b/qsendxmpp.pro
@@ -1,13 +1,9 @@
-######################################################################
-# Automatically generated by qmake (2.01a) ?? ???. 15 21:44:28 2012
-######################################################################
-
TEMPLATE = app
TARGET =
DEPENDPATH += .
INCLUDEPATH += .
-INCLUDEPATH += /usr/local/include/qxmpp /usr/lib/qxmpp
-LIBS += -L/usr/local/lib -L/usr/lib -lqxmpp
+CONFIG += link_pkgconfig
+PKGCONFIG += qxmpp
QT += network xml
QT -= gui
--
1.7.8.5
Передавать пароль в аргументах командной строки архинесекьюрно.
А, вообще, работает; чмоке тебе и дедфудяке.
:************