asolfre / qwit

Automatically exported from code.google.com/p/qwit
GNU General Public License v3.0
0 stars 0 forks source link

Does not compile after revision after r357 #171

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
After last update I can`t compile qwit with next error:

i686-pc-linux-gnu-g++ -c -pipe -O2 -pipe -march=native -ggdb -Wall -W 
-D_REENTRANT -DVERSION=\"1.1\" -DQT_NO_DEBUG -DQT_XML_LIB -DQT_GUI_LIB 
-DQT_NETWORK_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ 
-I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtNetwork 
-I/usr/include/qt4/QtGui -I/usr/include/qt4/QtXml -I/usr/include/qt4 -Isrc 
-I/usr/include/QtOAuth -I/usr/include/qca2/QtCrypto -Ivar -Ivar -o 
var/OAuthDialog.o src/OAuthDialog.cpp
make: *** Нет правила для сборки цели 
`src/QProgressIndicator.cpp', требуемой для 
`var/QProgressIndicator.o'.  Останов.

Original issue reported on code.google.com by tuu...@gmail.com on 14 Feb 2011 at 6:12

GoogleCodeExporter commented 9 years ago
Hi :)

This issue is old, but i had the same trouble.
It's very very no easy (lol) to compile Qwit now...
And the project seems dead... No activity since 2010 :(

I'm translator, not developper.... "Compile" is $@!#& for me.
But i need to compile Qwit to test my translation (in french).... it's not 
funny.
2 hours to translate, one day (for now) to compile... and... it doesn't work... 
great.

But, i have solutions :

1 : Issue with QtCrypto & QtOAuth :
QtCrypto is now in : /usr/include/QtCrypto/
QtOAuth .......... : /usr/include/QtOAuth/
(Before they was in /usr/include/qt4/...)

**Solution for QtCrypto :
In file qoauth/src/interface.cpp at the line 24 (not sure) :

-Replace this line :
#include <QtCrypto>
-By :
#include <QtCrypto/QtCrypto>

-"Save" the file.
And install process :
$ qmake
$ make
$ sudo make install

**Solution for QtOAuth : 
In file (under QT Creator) src/QwitHeaders.h
@@ -35,7 +35,7 @@
 #include <QtGui>
 #include <QtNetwork>
 #include <QtXml>

Change this line :
include <QtOAuth>
By :
include <QtOAuth/QtOAuth>

2 : Download QProgressIndicator on 
http://qt-apps.org/content/show.php/QProgressIndicator?content=115762
(Comment : http://code.google.com/p/qwit/wiki/BuildingQwitUsingQtCreator)

- Copy "QProgressIndicator.cpp" and "QProgressIndicatorfiles.h" in 
YOUR-SVN-FOLDER/trunk/src/

- With "QT Creator", in the project Qwit ("Edit" tab) on "headers/src" :
-Left click and select "Add existing files" (something like that),
- Select file YOUR-SVN-FOLDER/trunk/src/QProgressIndicator.cpp

-Save the project and compile (this issue will be fixed... for now).  

...
But
...

After this, when i compile, i have errors in files (i can't display all errors, 
it's too long) :

- QProgressIndicator.cpp

.../qwit-build-desktop-Desktop_Qt_4_8_0_for_GCC__Qt_SDK__Release/../trunk/src/QP
rogressIndicator.cpp:5: erreur : first defined here

Same error with the line : 18, 23, 30, 35,43, 53, 64, 71, 76, 81, 88

- With QtOAuth in files "services.cpp", "twitter.cpp", "TwitPicDialog.cpp" and 
"AccountConfigurationDialog.cpp" :

../qwit-build-desktop-Desktop_Qt_4_8_0_for_GCC__Qt_SDK__Release/../trunk/src/Twi
tter.cpp:84: erreur : undefined reference to 
`QOAuth::Interface::createParametersString(QString const&, QOAuth::HttpMethod, 
QByteArray const&, QByteArray const&, QOAuth::SignatureMethod, 
QMultiMap<QByteArray, QByteArray> const&, QOAuth::ParsingMode)'

or

../qwit-build-desktop-Desktop_Qt_4_8_0_for_GCC__Qt_SDK__Release/../trunk/src/Acc
ountConfigurationDialog.cpp:92: erreur : undefined reference to 
`QOAuth::tokenSecretParameterName()'

or 

.../qwit-build-desktop-Desktop_Qt_4_8_0_for_GCC__Qt_SDK__Release/../trunk/src/Tw
itPicDialog.cpp:123: erreur : undefined reference to 
`QOAuth::Interface::createParametersString(QString const&, QOAuth::HttpMethod, 
QByteArray const&, QByteArray const&, QOAuth::SignatureMethod, 
QMultiMap<QByteArray, QByteArray> const&, QOAuth::ParsingMode)'

I'm so desapointed. 
I have trouble, i resolve... since one day ...
I'm tired to search and find solutions, to have others problems/errors.
And... my translation wait...

I can't add it (just 3 translation files) in the trunk (via QT creator > svn), 
I don't have access (error 403) ... great !
It would be nice that a committer gives us answers, and said us if the project 
is dead or not... because now, I feel I've been wasting my time to translate 
and try to compile Qwit... for nothing... it's not very "Linux-friendly"... 

Hope answers, please.
Thanks.

Ps: 
I understand English langage but I speak (and write) very badly (and i'm not 
sorry for that).
I know, it's weird ! (lol) ... But don't worries, my translation is very good.
And ... english people don't make any effort to speak other languages, so I 
don't get tired to speak THEIR language (not mind and not international but 
that of english people and that of Masters/slaves of the World idiocracy).

Longa vivo al esperanto!

Original comment by fabien.vassaux on 19 Mar 2012 at 2:18

Attachments: