Live Helper Chat support forum.. Forum is locked. New place for questions - Github Discussions

You are not logged in.

Announcement

#1 2013-03-13 10:13:19

konrad....@ceferty.pl
Guest

Compilng desktop client

Hello!

I have problems with compiling desktop client source code. After solving issues with qt libraries i get
logindialogbase.h:5:32: fatal error: ui_logindialogbase.h: no such file or directory.

And as i see there is no such file indeed.

I'm hoping that You know anything about that and help me guys:)

https://groups.google.com/forum/#!topic … NbIrtYMJYM

#2 2013-03-13 12:40:11

Remigijus Kiminas
Administrator
From: Lithuania
Registered: 2012-09-23
Posts: 3,661
Website

Re: Compilng desktop client

On what OS you are compiling?

2013/3/13  <konrad....***.pl>

Offline

#3 2013-03-13 13:02:43

konrad....@ceferty.pl
Guest

Re: Compilng desktop client

Thanks for such quick response,

On ubuntu 11.10.

bests,
Konrad

#4 2013-03-13 13:05:29

Remigijus Kiminas
Administrator
From: Lithuania
Registered: 2012-09-23
Posts: 3,661
Website

Re: Compilng desktop client

What QT version?

Last time i compiled on windows it was 4.8x version. Perhaps versions does not match, or you are doing it wrong smile but for me it worked.


2013/3/13  <konrad....***.pl>

Offline

#5 2013-03-13 13:17:29

konrad....@ceferty.pl
Guest

Re: Compilng desktop client

I'm using qt 4.7.4., but i think this is not the cause.

Do You have file like "ui_logindialogbase.h" in your project? It's included like that:
#include "ui_logindialogbase.h" in logindialogbase.h

so i assume it's a part of the project and i have nothing like that in source files.

bests,
Konrad

#6 2013-03-13 13:33:52

Remigijus Kiminas
Administrator
From: Lithuania
Registered: 2012-09-23
Posts: 3,661
Website

Re: Compilng desktop client

Hi,

As I remember these files are being generated during compilation by qt itself. there is qmake or something like that first.

2013/3/13  <konrad....***.pl>

Offline

#7 2013-03-13 14:01:02

konrad....@ceferty.pl
Guest

Re: Compilng desktop client

Hmm, maby You are right, so i'll present my way step by step, maby someone will notice something.

1. I've downloaded zip package from livehelperchat.com/
2. I've unzipped that package
3. I get into lhc_dc_src
4. I've created main.pro like this:

TEMPLATE += app
QT += gui declarative phonon xml
SOURCES += main.cpp

(i'm not familliar with qmake and make so i've used some example from the internet)

5. in console in folder lhc_dc_src: qmake -makefile main.pro
6. Again in console : make
7. i get :

++ -c -pipe -O2 -Wall -W -D_REENTRANT -DQT_WEBKIT -DQT_NO_DEBUG -DQT_DECLARATIVE_LIB -DQT_PHONON_LIB -DQT_XML_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtXml -I/usr/include/phonon -I/usr/include/qt4/QtDeclarative -I/usr/include/qt4 -I/usr/include/qt4/phonon_compat -I. -o main.o main.cpp
In file included from logindialog.h:4:0,
                 from main.cpp:10:
logindialogbase.h:5:32: fatal error: ui_logindialogbase.h: There is no such file or directory
compilation terminated.
make: *** [main.o] Error 1

#8 2013-03-13 14:22:07

Remigijus Kiminas
Administrator
From: Lithuania
Registered: 2012-09-23
Posts: 3,661
Website

Re: Compilng desktop client

Hi,

There is project file already there. User this one.
https://github.com/remdex/livehelperchat/blob/master/lhc_dc_src/lhc.pro




2013/3/13  <konrad....***.pl>

Offline

#9 2013-03-13 14:29:15

konrad....@ceferty.pl
Guest

Re: Compilng desktop client

Omg, You are so right!

I had to overlooked that or something;)

Thanks a lot!

bests,
Konrad

#10 2013-03-16 10:25:49

Frank Frank
Member
Registered: 2013-03-15
Posts: 9

Re: Compilng desktop client

When I am trying to compiling on MacOS
QT Creator: 2.6.2
I got this::-1: error: Unknown module(s) in QT: phonon

Offline

#11 2013-03-16 16:09:03

Remigijus Kiminas
Administrator
From: Lithuania
Registered: 2012-09-23
Posts: 3,661
Website

Re: Compilng desktop client

Hi,

Problem is that Chat Desktop applicaiton at the moment is compatible with QT 4.x in order to compile for mac is required. http://www.developer.nokia.com/info/sw.nokia.com/id/da8df288-e615-443d-be5c-00c8a72435f8/Qt_SDK.html this package it's QtSDK under which I compile windows app.

Let me know have to succeeded compiling app on Mac smile

2013/3/16 Frank Frank <fen...***.com>

Offline

#12 2013-03-17 03:55:26

Frank Frank
Member
Registered: 2013-03-15
Posts: 9

Re: Compilng desktop client

Hi,Successful compiling on MacOS without QtSDK just need QT 4.8.4
Best Regards,

Offline

#13 2013-03-17 06:39:44

Remigijus Kiminas
Administrator
From: Lithuania
Registered: 2012-09-23
Posts: 3,661
Website

Re: Compilng desktop client

Hi,

Could you send me compiled Mac version and required libs to run it (if any). So I could add it to github as mac version smile

2013/3/17 Frank Frank <fen...***.com>

Offline

#14 2013-03-18 01:09:56

Frank Frank
Member
Registered: 2013-03-15
Posts: 9

Re: Compilng desktop client

Hi,I've been shared into https://www.dropbox.com/s/erug8qs9w57btmt/lhc_macos.tar.gz
Please have try I found it is not Exit properly.

Best Regards,

Offline

#15 2013-03-18 06:52:06

Remigijus Kiminas
Administrator
From: Lithuania
Registered: 2012-09-23
Posts: 3,661
Website

Re: Compilng desktop client

Hi,

Thank you. By default program then you click exit goes to try icon. To finally exist, click right mouse button on try icon and choose exit. Perhaps that's the case.


2013/3/18 Frank Frank <fen...***.com>

Offline

Board footer