TIP: Click on subject to list as thread! ANSI
echo: rberrypi
to: PETE
from: TAUNO VOIPIO
date: 2018-02-18 16:34:00
subject: Re: Qt on the Pi?

On 17.2.18 22:55, Pete wrote:
> In article , druck   wrote:
>> On 17/02/2018 00:42, Pete wrote:
>>> I fired up QtCreator, and -- with some hassles setting up
>>> a configuration that worked -- created the default "Hello
>>> World" project, built it and was able to run it.. from
>>> QtCreator.  There is an apparent executable generated, but
>>> if I try to run that (from a Terminal) nothing happens!
>>
>> I use QtCreator on the Pi as a general IDE, and build non-Qt projects.
>> For a command line hello world, you first need to set up a compiler kit
>> based on your installed version of gcc. I use an existing makefile to
>> build, but you can also use cmake.
>>
> AAARGH!  I've just realized what I was doing!  I'm more used to another
> OS (Haiku), where the current directory is first in the path. so I
> was just typing "test".  Being as that is a command of its own, it's not
> surprising it was just returning true! Tried "./test" and of course it
> works fine.  Lesson: if you can't remember the "./", don't use generic
> names for your programs!
>
> Glad that someone is using the app successfully.  It definitely was
> confusing to set up, because the intro docs don't seem to mention what
> one might need to do, but once I figured that out it seems to work
> well.
>
> Thanks,
>
>  -- Pete --


Just a reminder: Never create a program with the name 'test' in
Unixish operating systems.

--

-TV

--- SoupGate-Win32 v1.05
* Origin: Agency HUB, Dunedin - New Zealand | FidoUsenet Gateway (3:770/3)

SOURCE: echomail via QWK@docsplace.org

Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.