On 29 Dec 2008, at 10:37, Detlev Offenbach wrote:
>> ...
>> The QT designer application is installed as /Developer/Applications/
>> Qt/
>> Designer.app on Mac OS X. Designer.app is a Mac OS X 'package' (a
>> folder, really). Inside the package is an executable called
>> Designer. I have created a hard link to it in ~/bin called designer
>> (lower-case 'd') and now eric4 can find it OK. It would be nice to
>> be
>> able to configure eric4 to find the installed executable, though.
>> eric4 uses several executables of the Qt4 package. These are:
>> - designer
> - linguist
> - assistant
> - lrelease
>> eric4 expects these executables in the search path, which is set via
> the
> environment variable PATH (at least on *nix and Win* systems). How
> is this
> accomplished on Mac OS X? Is it standard, that the executables have an
> uppercase first letter?
>> Unfortunately I don't own a Mac, so I need support in this area.
>I'm not too knowledgeable about Mac OS X conventions but I've poked
about and here's what I've discovered:
(a) Somewhat to my surprise I find that the default MAC OS X file-
system is case-insensitive, so there is no problem about that.
(b) The Mac OS X install of Qt creates an installation directory
(e.g. /usr/local/Trolltech/Qt-4.4.3 ) with a bin subdirectory in
which reside all the executable files. Assuming your users put this
subdirectory on their PATH then eric4 will find the plain executables
such as lrelease, lupdate, qmake, uic, etc.
(c) Assistant, Designer and Linguist also live in this subdirectory
but as packages (full name Designer.app, etc).
(d) There is a standard command 'open' (man page text attached) that
can be used to execute packages. It requires the package's full path
however, it won't find the package just because it is held in a
directory on the PATH. Perhaps eric4 could find lrelease on the PATH,
extract the directory path and use it to construct 'open' commands for
Designer.app, Assistant.app and Linguist.app?
What I've done for now is to export a shell variable QTDIR in
my .bashrc and to have a set of single-line shell scripts in ~/bin
called designer, linguist and assistant that just open $QTDIR/bin/
Designer.app, etc.
Hope this helps. Let me know if you need more information.
Regards,
-- Colin
-------------- next part --------------
OPEN(1) BSD General Commands Manual OPEN(1)
NNAAMMEE
ooppeenn -- open files and directories
SSYYNNOOPPSSIISS
ooppeenn [--ee] [--tt] [--ff] [--WW] [--nn] [--gg] [--hh] [--bb _b_u_n_d_l_e___i_d_e_n_t_i_f_i_e_r]
[--aa _a_p_p_l_i_c_a_t_i_o_n] _f_i_l_e _._._.
DDEESSCCRRIIPPTTIIOONN
The ooppeenn command opens a file (or a directory or URL), just as if you had
double-clicked the file's icon. If no application name is specified, the
default application as determined via LaunchServices is used to open the
specified files.
If the file is in the form of a URL, the file will be opened as a URL.
You can specify one or more file names (or pathnames), which are inter-
preted relative to the shell or Terminal window's current working direc-
tory. For example, the following command would open all Word files in the
current working directory:
open *.doc
Opened applications inherit environment variables just as if you had
launched the application directly through its full path. This behavior
was also present in Tiger.
The options are as follows:
--aa aapppplliiccaattiioonn
Specifies the application to use for opening the file
--bb bbuunnddllee__iinnddeennttiiffiieerr
Specifies the bundle identifier for the application to use when open-
ing the file
--ee Causes the file to be opened with /Applications/TextEdit
--tt Causes the file to be opened with the default text editor, as deter-
mined via LaunchServices
--ff Reads input from standard input and opens the results in the default
text editor. End input by sending EOF character (type Control-D).
Also useful for piping output to ooppeenn and having it open in the
default text editor.
--WW Causes ooppeenn to wait until the applications it opens (or that were
already open) have exited. Use with the --nn flag to allow ooppeenn to
function as an appropriate app for the $$EEDDIITTOORR environment variable.
--nn Open a new instance of the application(s) even if one is already run-
ning.
--gg Do not bring the application to the foreground.
--hh Searches header locations for a header whose name matches the given
string and then opens it. Pass a full header name (such as NSView.h)
for increased performance.
EEXXAAMMPPLLEESS
"open '/Volumes/Macintosh HD/foo.txt'" opens the document in the default
application for its type (as determined by LaunchServices).
"open '/Volumes/Macintosh HD/Applications/'" opens that directory in the
Finder.
"open -a /Applications/TextEdit.app '/Volumes/Macintosh HD/foo.txt'"
opens the document in the application specified (in this case, TextEdit).
"open -b com.apple.TextEdit '/Volumes/Macintosh HD/foo.txt'" opens the
document in the application specified (in this case, TextEdit).
"open -e '/Volumes/Macintosh HD/foo.txt'" opens the document in TextEdit.
"ls | open -f" writes the output of the 'ls' command to a file in /tmp
and opens the file in the default text editor (as determined by Launch-
Services).
"open http://www.apple.com/" opens the URL in the default browser.
"open 'file://localhost/Volumes/Macintosh HD/foo.txt'" opens the document
in the default application for its type (as determined by LaunchSer-
vices).
"open 'file://localhost/Volumes/Macintosh HD/Applications/'" opens that
directory in the Finder.
"open -h NSView" lists headers whose names contain NSView and allows you
to choose which ones to open.
"open -a Xcode -h NSString.h" quickly opens /System/Library/Frame-
works/Foundation.framework/Headers/NSString.h in Xcode.
HHIISSTTOORRYY
First appeared in NextStep.
Mac OS X February 10, 2004 Mac OS X
-------------- next part --------------
More information about the Eric
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 0018xhpq.com.cn www.sweetpiggy.com.cn www.mcpu.com.cn cctg.org.cn www.goldo.com.cn www.jcxv.com.cn www.dkob.com.cn www.xrdi.com.cn wrasse.com.cn qhdar.com.cn