How to make the QtCreator to not build the project when typing '{' with hungarian layout @ Windows 

The Hungarian layout uses the AltGr+B combination for the { character.
It is a little bit annoying to get the project built every time.
To turn off this shortcut:

Go to Tools > Options > Enviroment >Keyboard tab > Qt4Builder section > Build file.
And clear the shortcut.

[ hozzászólás ] ( 12 megtekintés ) [ 0 trackbackek ] permalink ( 3.1 / 326 )
Building QCA (Qt cryptographic architecture) library on Ubuntu 13.10 with Qt5 

I have tried to build the QCA library from the KDE git repository (git clone git://anongit.kde.org/qca.git) with Qt5. (The Ubuntu 13.10 distribution ships only QCA built with Qt4 in the repositories).

The cmake failed with:

CMake Error in CMakeLists.txt:
Imported target "Qt5::Core" includes non-existent path

"/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++-64"

in its INTERFACE_INCLUDE_DIRECTORIES. Possible reasons include:

* The path was deleted, renamed, or moved to another location.

* An install or uninstall procedure did not complete successfully.

* The installation package was faulty and references files it does not
provide.


The solution was creating a symlink from the mkspecs:

sudo ln -s /usr/share/qt5/mkspecs/ /usr/lib/x86_64-linux-gnu/qt5/

[ hozzászólás ] ( 23 megtekintés ) [ 0 trackbackek ] permalink ( 3 / 253 )
Setter/getter method generator for Qt/C++ 

I have ditched together a small form in PHP to generate the setter getter methods for private members:
http://balubati.atw.hu/cpp_setter_getter_generator.php
[ hozzászólás ] ( 3 megtekintés ) [ 0 trackbackek ] permalink ( 2.8 / 165 )
Geovision GV-800(S) under Linux 

One of my friends asked me to get working a Geovision GV-800(S) DVR card with zoneminder.
According to the google results several people succeed with this subject. For e.g.:
http://siripong-computer-tips.blogspot. ... linux.html

I have installed a n Ubuntu 12.04 server, and the necessary packages. This distribution shuiips with a relatively new kernel (3.5.0) which means that the necessary bttv modules were included fine. The device had shown up fine: I had 4 v4l2 devices with 4 channels per each (Composite0-4). I have added these channels as sources to the Zoneminder but I have not been able to get image from them. After several trials I have installed XFCE and XAWTV. I have not been able to get image with that tool too, and at the channel changes I got I/O errors and the software claimed about invalid framebuffer address on startup.

As final trying I have installed a Windows XP to the box, and installed the Geovision software. The device had shown up in the device manager fine, but there were a yellow exclamation points next to the devices with Device cannot started message. I have seen that card working in different computer.

As a last trial we have decided to try to upgrade the BIOS, and that solved the problem.
[ hozzászólás ] ( 22 megtekintés ) [ 0 trackbackek ] permalink ( 2.9 / 338 )
Hekkeljünk trafikszoftvert! - QTrafik 

Ha 2013-ban olyan szoftvert akarnak eladni neked ami nem megy 64 biten mondj nemet!
Ha meghallod a DBF szót egy szoftverrel kapcsolatban fuss.

Ezeket a jótanácsokat sajnos kénytelen voltam a magam bőrén kitapasztalni.

Adott tehát a feladat: készítsünk egy raktárkészletkezelő rendszert ami:
- Átverhető az NDN ZRt minősítési tesztjén (potom 55K HUF + fáért)
- Fut 64 biten
- Grafikus felülettel rendelkezik
- Mentes minden felesleges funkciótól, azaz R=1 userekenek könnyű használni

Az NDN speckókról röviden:
- Adott egy webservice amit a T-Systems üzemeltet.
- ASP.NET alapú, legalábbis ez érzik rajta.
- PKCS#12 local cert. alapú azonosítás van+ azért minden hívásnak át kell adni egy egyedi shopId-t ami boltonként egyedi.
- Az éles rendszereken gzip-el tömörített módon kell kommunikálni. Erre képes tesztrendszer is van, időbe tellett míg rájöttem hogy a megaditt webservice url-ben az /nd előtagot /ndc-re kicserélve jutok a tömörített url-re. .NEThez példakódot is adnak.
- Alapvetően háromféle adatforgalom van:
- Cikktörzslekérés
- Készletmozgás feltöltés (eladás, bevételezés, etc.)
- Napi nyitókészlet feltölktése
- A feltöltési interakciókat ütemezni kell egy lekérés eredménye szerint.

A terv a következő:
- C++, Qt.
- Sqlite backend
- SOAP KDSOAP-al: https://github.com/KDAB/KDSoap

Eddigi szívások:

A minősítési rendszerbe regisztráláshoz fel kellett mutatni weboldalt, amire a githubot vettem igénybe :D.
Anno feltoltam egy átnevezett ezeréves kódot, mert kellett egy céges weboldal:
https://github.com/martonmiklos/opentrafik

KDSOAP-nak voltak/vannak még problémái:
- Típusnevekben pontok (már fixálták a KDAB-sek):
https://github.com/KDAB/KDSoap/commit/3dd7cef10bf03c1e2df0fffa76a4cc1134857975
- Több wsdl-ből áll az NDN webservice ami ugye tartalmaz ugyanolyan típusneveket. A kwsdl2cpp integrálható qmake alá, de nam adható át namespace ami névütközést okoz, ezt magamnak workaroundoltam.
- A webservice más addressing módot használ, amit szintén workaroundoltam közepesen szofisztikáltan:
https://github.com/KDAB/KDSoap/issues/40

Készítettem wsdl complextype -> SQLITE schema generátort PHP-ban, mert ugye embertelen lenne 5 tábla 60 sorát kézzel felvinni ;)

[ hozzászólás ] ( 3 megtekintés ) [ 0 trackbackek ] permalink ( 2.8 / 261 )

<< <Előző | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | Következő> >>

 
számláló