That's awesome news, looking forward to those fixes!!!
In the meantime, in order to use the future dev snapshot I've tried to
learn how to build QScintilla from sources so I wouldn't need to
wait for the pypi wheels and I've described all the steps I've followed as
adviced:
BUILD QSCINTILLA.DLL
====================
1st attempt
-----------
- Start vs2015 x86 command prompt
- cd d:\ && mkdir test_qscintilla
- wget
/static/Downloads/QScintilla/QScintilla_gpl-2.11.2.dev1905090903.zip
- 7z x QScintilla_gpl-2.11.2.dev1905090903.zip
Section `Installation on Windows` in the doc/html-Qt4Qt5/index.html says:
> Before compiling QScintilla on Windows you should remove the Qsci
directory
> containing the QScintilla header files from any previous installation.
- cd Qt4Qt5
- rf -rf Qsci
- set path=c:\Qt\5.11.3\msvc2015\bin;%path%
- qmake -makefile qscintilla.pro
- nmake
It'll complain the Qsci header files missing... so probably docs are wrong
here
2nd attempt
-----------
Let's try again...
- cd d:\test_qscintilla
- rm -rf QScintilla_gpl-2.11.2.dev1905090903
- 7z x QScintilla_gpl-2.11.2.dev1905090903.zip
- Open qscintilla.pro with qtcreator + configure for msvc2015
- Select release + build, you should get qscintilla2_qt5.dll
- copy
..\Qt4Qt5\build-qscintilla-Desktop_Qt_5_11_3_MSVC2015_32bit-Release\release\qscintilla2_qt5.dll
c:\Qt\5.11.3\msvc2015\bin
PYTHON BINDINGS
===============
First, let's make sure sip.exe is on path:
- set path=D:\virtual_envs\sip-4.19.14\sipgen;%path%
and to confirm just do `where sip`
Now let's enable some virtualenv with pyqt5 installed:
- cd d:\mcve_qscintilla\QScintilla_gpl-2.11.2.dev1905090903\Python
- d:\virtual_envs\py364_32\Scripts\activate
And finally we configure:
(py364_32)
d:\mcve_qscintilla\QScintilla_gpl-2.11.2.dev1905090903\Python>python
configure.py --pyqt=PyQt5
--qsci-incdir=d:\mcve_qscintilla\QScintilla_gpl-2.11.2.dev1905090903\Qt4Qt5
--qsci-libdir=d:\mcve_qscintilla\QScintilla_gpl-2.11.2.dev1905090903\Qt4Qt5\build-qscintilla-Desktop_Qt_5_11_3_MSVC2015_32bit-Release\release
Configuring QScintilla 2.11.2.dev1905090903...
QScintilla 2.11.2.dev1905090903 is being used.
The QScintilla .sip files will be installed in
D:\virtual_envs\py364_32\sip\PyQt5.
QScintilla will be installed in
D:\virtual_envs\py364_32\Lib\site-packages\PyQt5.
PyQt 5.12 is being used.
Qt 5.12.1 is being used.
sip 4.19.14 is being used.
The sip executable is D:\virtual_envs\sip-4.19.14\sipgen\sip.exe.
The PEP 484 stubs will be installed in
D:\virtual_envs\py364_32\Lib\site-packages\PyQt5.
The QScintilla API file will be installed in
C:/Qt/5.11.3/msvc2015\qsci\api\python.
Generating the C++ source for the Qsci module...
Generating the .pro file for the Qsci module...
Generating the QScintilla API file...
Generating the top-level .pro file...
Generating the Makefiles...
- I open QScintilla.pro on qtcreator + configure msvc2015 and I build, I'll
get
these errors:
https://dl.dropboxusercontent.com/s/6h275m4b8hptsp3/2019-05-15_12-37-00.txt
QUESTIONS:
- Is it really necessary to copy qscintilla2_qt5 to the qt directory?
- If you look at the content of the python bindings compilation output, at
which point I've messed up?
- Summing up, could you describe the right way to build the QScintilla
python bindings from source on windows? It feels
to me the steps living in the documentation are outdated
On Wed, May 15, 2019 at 11:36 AM Phil Thompson <phil at riverbankcomputing.com>
wrote:
> On 14/05/2019 22:59, Scener Spanish wrote:
> > That's a good advice, I'll try to allocate some time this week with all
> > the
> > steps and where I've got stuck, in the meantime... I'm sure you're
> > following
> > the other thread but if you don't Neil has explained a little bit about
> > the
> > meaning of that variable, pasting literally here:
> >
> > X has the concept of a ‘primary selection’ which is the most recently
> >> selected text in any application and which can be pasted by clicking
> >> the
> >> middle mouse button.
> >> selBackground2 is the colour used for the background of a
> >> non-primary-selection on X. It should never be seen on Windows or
> >> macOS
> >> which don’t have primary selections.
> >> When the user makes a selection on X, this is the primary selection
> >> but
> >> it should be displayed similarly to other platforms with the colours
> >> defined by SCI_SETSELBACK. But you still want a visual distinction
> >> between
> >> the primary selection and non-primary-selections (so you see which
> >> text
> >> will be used for a middle-click). Therefore the colour of this
> >> selection
> >> changes to selBackground2 once a new primary selection is made,
> >> commonly in
> >> a different application.
> >> Neil
> >
> >
> > Hope this helps... so yeah, this clarifies this indeed a QScintilla bug
> > afterall ;)
>> Thanks - that was the clue I needed. Tonight's snapshot should fix both
> tests.
>> Phil
>-------------- next part --------------
An HTML attachment was scrubbed...
URL: </pipermail/qscintilla/attachments/20190515/551b3725/attachment.html>
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 0018www.dingdangdao.com.cn taowoxihuan.com.cn www.afcctv.com.cn jiacao.com.cn eyewatch.com.cn www.zz601.com.cn 91axz.com.cn hb-cx.com.cn xj-hnht.com.cn blby524.com.cn