Trolltech Home | Qt-interest Home | Recent Threads | All Threads | Author | Date
All threads index page 4

Qt-interest Archive, July 2007
[MinGW][Eclipse Integration] Trouble building/locating libqtmaind


Message 1 in thread

Dear listers,

When compiling a simple hello world program I get a link error
- can't find lqtmaind

Looking inside C:\Qt\4.3.0\lib I see only following files that maybe
related:
- libqtmain.a (static lib)
- qtmain.prl
- qtmaind.prl

I had built with configure -debug-and-release

Shouldn't configure have had built libqtmaind.a or libqtmaind.so ?

Also, what are qtmainx.prl files for?

Cheers

Message 2 in thread

On 7/18/07, Foo Bar <xrandomhacker@xxxxxxxxx> wrote:
> Dear listers,
>
> When compiling a simple hello world program I get a link error
> - can't find lqtmaind
>
> Looking inside C:\Qt\4.3.0\lib I see only following files that maybe
> related:
> - libqtmain.a (static lib)
> - qtmain.prl
> - qtmaind.prl
>
> I had built with configure -debug-and-release
>
> Shouldn't configure have had built libqtmaind.a or libqtmaind.so ?

Hi,

did you run the generate debug library from the entry in the programs
menu in the start button? Does the user who runs the compile have
enough rights on your system to do this kind of things? I have had
this problem, and solved it by rerunning the process as admin.

-- 
 [ signature omitted ] 

Message 3 in thread

Hi,
I had not used the program menu option to build. On using the option I got
an error "mingw32-make: *** No rule to make target 'debug'. Stop. "

The path at that time was C:\Qt\4.3.0\src

So I changed to C:\Qt\4.3.0\ and tried to compile again using mingw32-make
debug

(cd C:/Qt/4.3.0/src/winmain && mingw32-make -f Makefile debug)
The system cannot find the path specified.
mingw32-make: *** [debug-C__Qt_4_3_0_src_winmain] Error 1

Fair enough, then I changed to C:\Qt\4.3.0\src\winmain
... didn't have any more options I could think of left :)

C:\Qt\4.3.0\src\winmain>mingw32-make -f Makefile.Debug
Makefile.Debug:116: *** multiple target patterns.  Stop.

Also, QMAKESPEC = mingw32-g++.exe

I'm running WindowsXP and there is no admin user. If I do a 'Run As...' on
any program it asks me the user name to run under. There is no admin there.
For most part I can do anything I wish with my user id - change IP
addresses, stop services etc

Cheers


On 7/18/07, Svenn Are Bjerkem <svenn.bjerkem@xxxxxxxxxxxxxx> wrote:
>
> On 7/18/07, Foo Bar <xrandomhacker@xxxxxxxxx> wrote:
> > Dear listers,
> >
> > When compiling a simple hello world program I get a link error
> > - can't find lqtmaind
> >
> > Looking inside C:\Qt\4.3.0\lib I see only following files that maybe
> > related:
> > - libqtmain.a (static lib)
> > - qtmain.prl
> > - qtmaind.prl
> >
> > I had built with configure -debug-and-release
> >
> > Shouldn't configure have had built libqtmaind.a or libqtmaind.so ?
>
> Hi,
>
> did you run the generate debug library from the entry in the programs
> menu in the start button? Does the user who runs the compile have
> enough rights on your system to do this kind of things? I have had
> this problem, and solved it by rerunning the process as admin.
>
> --
> Svenn
>
> --
> To unsubscribe - send a mail to qt-interest-request@xxxxxxxxxxxxx with
> "unsubscribe" in the subject or the body.
> List archive and information: http://lists.trolltech.com/qt-interest/
>
>

Message 4 in thread

FYI

4.2.3 works fine.

Cheers


On 7/18/07, Foo Bar <xrandomhacker@xxxxxxxxx> wrote:
>
> Hi,
> I had not used the program menu option to build. On using the option I got
> an error "mingw32-make: *** No rule to make target 'debug'. Stop. "
>
> The path at that time was C:\Qt\4.3.0\src
>
> So I changed to C:\Qt\4.3.0\ and tried to compile again using mingw32-make
> debug
>
> (cd C:/Qt/4.3.0/src/winmain && mingw32-make -f Makefile debug)
> The system cannot find the path specified.
> mingw32-make: *** [debug-C__Qt_4_3_0_src_winmain] Error 1
>
> Fair enough, then I changed to C:\Qt\4.3.0\src\winmain
> ... didn't have any more options I could think of left :)
>
> C:\Qt\4.3.0\src\winmain>mingw32-make -f Makefile.Debug
> Makefile.Debug:116: *** multiple target patterns.  Stop.
>
> Also, QMAKESPEC = mingw32-g++.exe
>
> I'm running WindowsXP and there is no admin user. If I do a 'Run As...' on
> any program it asks me the user name to run under. There is no admin there.
> For most part I can do anything I wish with my user id - change IP
> addresses, stop services etc
>
> Cheers
>
>
> On 7/18/07, Svenn Are Bjerkem <svenn.bjerkem@xxxxxxxxxxxxxx> wrote:
> >
> > On 7/18/07, Foo Bar <xrandomhacker@xxxxxxxxx> wrote:
> > > Dear listers,
> > >
> > > When compiling a simple hello world program I get a link error
> > > - can't find lqtmaind
> > >
> > > Looking inside C:\Qt\4.3.0\lib I see only following files that maybe
> > > related:
> > > - libqtmain.a (static lib)
> > > - qtmain.prl
> > > - qtmaind.prl
> > >
> > > I had built with configure -debug-and-release
> > >
> > > Shouldn't configure have had built libqtmaind.a or libqtmaind.so ?
> >
> > Hi,
> >
> > did you run the generate debug library from the entry in the programs
> > menu in the start button? Does the user who runs the compile have
> > enough rights on your system to do this kind of things? I have had
> > this problem, and solved it by rerunning the process as admin.
> >
> > --
> > Svenn
> >
> > --
> > To unsubscribe - send a mail to qt-interest-request@xxxxxxxxxxxxx with
> > "unsubscribe" in the subject or the body.
> > List archive and information: http://lists.trolltech.com/qt-interest/
> >
> >
>

Message 5 in thread

On 7/18/07, Foo Bar <xrandomhacker@xxxxxxxxx> wrote:
> Hi,
> I had not used the program menu option to build. On using the option I got
> an error "mingw32-make: *** No rule to make target 'debug'. Stop. "
>
> The path at that time was C:\Qt\4.3.0\src
>
>  So I changed to C:\Qt\4.3.0\ and tried to compile again using mingw32-make
> debug
>
> (cd C:/Qt/4.3.0/src/winmain && mingw32-make -f Makefile debug)
> The system cannot find the path specified.
> mingw32-make: *** [debug-C__Qt_4_3_0_src_winmain] Error 1
>
> Fair enough, then I changed to C:\Qt\4.3.0\src\winmain
> ... didn't have any more options I could think of left :)
>
> C:\Qt\4.3.0\src\winmain>mingw32-make -f Makefile.Debug
> Makefile.Debug:116: *** multiple target patterns.  Stop.
>
> Also, QMAKESPEC = mingw32-g++.exe
>
> I'm running WindowsXP and there is no admin user. If I do a 'Run As...' on
> any program it asks me the user name to run under. There is no admin there.
> For most part I can do anything I wish with my user id - change IP
> addresses, stop services etc

When I start the debug make from the program menu, I get this message:

Setting up a MinGW/Qt only environment...
-- QTDIR set to C:\Qt\4.3.0
-- PATH set to C:\Qt\4.3.0\bin
-- Adding C:\MinGW\bin to PATH
-- Adding C:\WINDOWS\System32 to PATH
-- QMAKESPEC set to win32-g++
This will configure and compile qt in debug.
The release libraries will not be recompiled.
Press any key . . .

Then you are asked to accept the GPL and then things start. In my
environment I am not generally allowed to modify things in system
directories as normal user. Since you are allowed to do all things as
normal user, then I would expect that either you start the Qt console
and not the Qt debug make console, or the basic installation could be
buggy. I have compiled many versions of GPL Qt4 out of the box using
the debug compile option.

You did not specifically state if the compile ask you to accept the
GPL so I wonder if something is wrong.

-- 
 [ signature omitted ] 

Message 6 in thread

On 7/24/07, Svenn Are Bjerkem <svenn.bjerkem@xxxxxxxxxxxxxx> wrote:
<snip>

>
> You did not specifically state if the compile ask you to accept the
> GPL so I wonder if something is wrong.


I do get the GPL confirmation press 'y' to continue thingee. Like I
said an earlier version - 4.3.2 - works just fine, maybe the
installation is buggy. It's ok though; I don't need the
latest/greatest :D

Cheers

--
 [ signature omitted ]