I'm hobbyist trying to program in PYQT5.
Working on a Lenovo ThinkStation E32 (64bit) under Fedora 21 Mate.
To install eric6 I did the following:
As explained in "README for the eric6 IDE" (in eric6-6.0.1.tar.gz from
http://sourceforge.net/projects/eric-ide/files/eric6/stable/
1.Install Qt5 Qt Creator 3.3.0 Based on Qt 5.4.0 (GCC 4.9.2 20141101
(Red Hat 4.9.2-1), 64 bit)
2.Build and install QScintilla2 (from Riverbank Computing) (my remark:
I had to put qmake in PATH for missing qmake)
3.Build and install sip (from Riverbank Computing) (my remark: I had to
install python3-devel for missing python.h)
4.Build and install PyQt5 (my remark: no problems)
And now my problem:
Firstly the contents of .bash_profile:
============================
# .bash_profile
# Get the aliases and functions
if [ -f ~/.bashrc ]; then
. ~/.bashrc
fi
# User specific environment and startup programs
PATH=$PATH:$HOME/.local/bin:$HOME/bin
#tbv qmake thies 26-01-2015
PATH=$PATH:/usr/lib64/qt5/bin
PATH=$PATH:/usr/include/qt5/QtWidgets
export PATH
==================
5.Build and install QScintilla2 Python bindings.
Next the output in terminal:
=============================================
[xantippe at local ~]$ cd qscintilla2install/
[xantippe at local qscintilla2install]$ ls
QScintilla-gpl-2.8.4 QScintilla-gpl-2.8.4.tar.gz
[xantippe at local qscintilla2install]$ cd QScintilla-gpl-2.8.4/
[xantippe at local QScintilla-gpl-2.8.4]$ ls
designer-Qt3 GPL_EXCEPTION_ADDENDUM.TXT LICENSE.GPL2 qsci
designer-Qt4Qt5 GPL_EXCEPTION.TXT LICENSE.GPL3 Qt3
doc include NEWS Qt4Qt5
example-Qt3 lexers OPENSOURCE-NOTICE.TXT README
example-Qt4Qt5 lexlib Python src
[xantippe at local QScintilla-gpl-2.8.4]$ cd Python/
[xantippe at local Python]$ python3 configure.py --pyqt=PyQt5
Configuring QScintilla 2.8.4...
QScintilla 2.8.4 is being used.
The QScintilla .sip files will be installed in /usr/share/sip/PyQt5.
The QScintilla module will be installed in
/usr/lib64/python3.4/site-packages/PyQt5.
PyQt 5.4 is being used.
Qt 5.4.0 is being used.
sip 4.16.5 is being used.
The sip executable is /usr/bin/sip.
The QScintilla module is being built with 'protected' redefined as 'public'.
The QScintilla API file will be installed in /usr/share/qt5/qsci/api/python.
Generating the C++ source for the Qsci module...
Generating the .pro file for the Qsci module...
Creating the Makefile for the Qsci module...
[xantippe at local Python]$ make
g++ -c -pipe -fno-exceptions -O2 -g -pipe -Wall -Werror=format-security
-Wp,-D_FORTIFY_SOURCE=2 -fstack-protector-strong
--param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -O2
-Wall -W -D_REENTRANT -fPIC -DSIP_PROTECTED_IS_PUBLIC -Dprotected=public
-DQT_NO_DEBUG -DQT_PLUGIN -DQT_GUI_LIB -DQT_CORE_LIB
-I/usr/lib64/qt5/mkspecs/linux-g++ -I. -isystem /usr/include/python3.4m
-isystem /usr/include/qt5 -isystem /usr/include/qt5/QtGui -isystem
/usr/include/qt5/QtCore -I. -o sipQsciQsciLexerAVS.o sipQsciQsciLexerAVS.cpp
In file included from /usr/include/qt5/Qsci/qscicommand.h:36:0,
from /usr/include/qt5/Qsci/qsciscintilla.h:42,
from /usr/include/qt5/Qsci/qsciabstractapis.h:39,
from sip/qsciabstractapis.sip:29:
/usr/include/qt5/Qsci/qsciscintillabase.h:35:31: fatal error:
QAbstractScrollArea: No such file or directory
#include <QAbstractScrollArea>
^
compilation terminated.
Makefile:461: recipe for target 'sipQsciQsciLexerAVS.o' failed
make: *** [sipQsciQsciLexerAVS.o] Error 1
[xantippe at local Python]$
===============================
My problem described above: "QAbstractScrollArea: No such file or directory"
I'm missing QAbstractScrollArea.
A "find" as root gives the following:
=====
[root at local /]# find / -name qabstractscrollarea*.*
find: ‘/run/user/1000/gvfs’: Permission denied
/home/xantippe/.local/share/Trash/files/backupthies260115/pyqt5install/PyQt-gpl-5.4/doc/html/_sources/api/qabstractscrollarea.txt
/home/xantippe/.local/share/Trash/files/backupthies260115/pyqt5install/PyQt-gpl-5.4/doc/html/api/qabstractscrollarea.html
/home/xantippe/.local/share/Trash/files/backupthies260115/pyqt5install/PyQt-gpl-5.4/doc/sphinx/api/qabstractscrollarea.rst
/home/xantippe/.local/share/Trash/files/backupthies260115/pyqt5install/PyQt-gpl-5.4/sip/QtWidgets/qabstractscrollarea.sip
/home/xantippe/pyqt5install/PyQt-gpl-5.4/doc/html/_sources/api/qabstractscrollarea.txt
/home/xantippe/pyqt5install/PyQt-gpl-5.4/doc/html/api/qabstractscrollarea.html
/home/xantippe/pyqt5install/PyQt-gpl-5.4/doc/sphinx/api/qabstractscrollarea.rst
/home/xantippe/pyqt5install/PyQt-gpl-5.4/sip/QtWidgets/qabstractscrollarea.sip
/usr/include/qt5/QtWidgets/5.4.0/QtWidgets/private/qabstractscrollarea_p.h
/usr/include/qt5/QtWidgets/qabstractscrollarea.h
/usr/share/sip/PyQt5/QtWidgets/qabstractscrollarea.sip
[root at local /]#
=====
I found qabstarctscrollarea.h in
/usr/include/qt5/QtWidgets/qabstractscrollarea.h
So I put that directory in .bash_profile without the needed solution.
(not knowing what to do!!)
(Because I also have qt4 installed (for hplip-gui) I thought the problem
is the existence of
Qt4. But uninstalling this does not have the needed effect.
>>>
Question can you help me to solve this problem?
<<<
Many thanks.
More information about the QScintilla
mailing list
¡®She has never mentioned her father to me. Was he¡ªwell, the sort of man whom the County Club would not have blackballed?¡¯ "We walked by the side of our teams or behind the wagons, we slept on the ground at night, we did our own cooking, we washed our knives by sticking them into the ground rapidly a few times, and we washed our plates with sand and wisps of grass. When we stopped, we arranged our wagons in a circle, and thus formed a 'corral,' or yard, where we drove our oxen to yoke them up. And the corral was often very useful as a fort, or camp, for defending ourselves against the Indians. Do you see that little hollow down there?" he asked, pointing to a depression in the ground a short distance to the right of the train. "Well, in that hollow our wagon-train was kept three days and nights by the Indians. Three days and nights they stayed around, and made several attacks. Two of our men were killed and three were wounded by their arrows, and others had narrow escapes. One arrow hit me on the throat, but I was saved by the knot of my neckerchief, and the point only tore the skin a little. Since that time I have always had a fondness for large neckties. I don't know how many of the Indians we killed, as they carried off their dead and wounded, to save them from being scalped. Next to getting the scalps of their enemies, the most important thing with the Indians is to save their own. We had several fights during our journey, but that one was the worst. Once a little party of us were surrounded in a small 'wallow,' and had a tough time to defend ourselves successfully. Luckily for us, the Indians had no fire-arms then, and their bows and arrows were no match for our rifles. Nowadays they are well armed, but there are[Pg 41] not so many of them, and they are not inclined to trouble the railway trains. They used to do a great deal of mischief in the old times, and many a poor fellow has been killed by them." As dusk came on nearly the whole population of Maastricht, with all their temporary guests, formed an endless procession and went to invoke God's mercy by the Virgin Mary's intercession. They went to Our Lady's Church, in which stands the miraculous statue of Sancta Maria Stella Maris. The procession filled all the principal streets and squares of the town. I took my stand at the corner of the Vrijthof, where all marched past me, men, women, and children, all praying aloud, with loud voices beseeching: "Our Lady, Star of the Sea, pray for us ... pray for us ... pray for us ...!" It had not occurred to her for some hours after Mrs. Campbell had told her of Landor's death that she was free now to give herself to Cairness. She had gasped, indeed, when she did remember it, and had put the thought away, angrily and self-reproachfully. But it returned now, and she felt that she might cling to it. She had been grateful, and she had been faithful, too.[Pg 286] She remembered only that Landor had been kind to her, and forgot that for the last two years she had borne with much harsh coldness, and with a sort of contempt which she felt in her unanalyzing mind to have been entirely unmerited. Gradually she raised herself until she sat quite erect by the side of the mound, the old exultation of her half-wild girlhood shining in her face as she planned the future, which only a few minutes before had seemed so hopeless. After he had gloated over Sergeant Ramsey, Shorty got his men into the road ready to start. Si placed himself in front of the squad and deliberately loaded his musket in their sight. Shorty took his place in the rear, and gave out: The groups about each gun thinned out, as the shrieking fragments of shell mowed down man after man, but the rapidity of the fire did not slacken in the least. One of the Lieutenants turned and motioned with his saber to the riders seated on their horses in the line of limbers under the cover of the slope. One rider sprang from each team and ran up to take the place of men who had fallen. "As long as there's men and women in the world, the men 'ull be top and the women bottom." Then, in the house, the little girls were useful. Mrs. Backfield was not so energetic as she used to be. She had never been a robust woman, and though her husband's care had kept her well and strong, her frame was not equal to Reuben's demands; after fourteen years' hard labour, she suffered from rheumatism, which though seldom acute, was inclined to make her stiff and slow. It was here that Caro and Tilly came in, and Reuben began to appreciate his girls. After all, girls were needed in a house¡ªand as for young men and marriage, their father could easily see that such follies did not spoil their usefulness or take them from him. Caro and Tilly helped their grandmother in all sorts of ways¡ªthey dusted, they watched pots, they shelled peas and peeled potatoes, they darned house-linen, they could even make a bed between them. HoMEÒ»¼¶Ã«Æ¬ÊÓÆµÃâ·Ñ¹«¿ª
ENTER NUMBET 0018shehua55.net.cn www.fczyshop.com.cn aotasiman.com.cn mangguojiu.com.cn www.jnclj.com.cn www.opool.com.cn www.gbzb595.com.cn www.hbgggs.com.cn pxne.com.cn www.glonics.com.cn