Skip to content

Installation and Deployment

Your Qt just doesn't want to build? Your compiler can't find the libs? Here's where you find comfort and understanding. And help.
9.7k Topics 51.0k Posts
  • Qt5Gui_EGL_LIBRARY-NOTFOUND

    5
    0 Votes
    5 Posts
    5k Views
    silenthellS
    This bug has been reported https://bugreports.qt-project.org/browse/QTBUG-39859 For now they found another workaround which doesn't involve changing any file: simply install libEGL-dev. (e.g with linux MINT the package libegl1-mesa-dev avoid the error).
  • Serialport: Error while loading shared libraries: libQtSerialPort.so.1:

    10
    0 Votes
    10 Posts
    10k Views
    M
    [quote author="Ramon" date="1407179520"]Please let me know if you can get the serial port (UART) working. After installation I ran the sample code given on QTSerialPort wiki, but it detected only the USB port. Any idea why the serialport (ttyO0) doesn't get detected? http://qt-project.org/forums/viewthread/44916/#185469 [/quote] Yeah. I work with rfid reader through usb, but i can only see COM ports. Maybe CreateFile for a com port, read from ttyO0 and write on the new file? if QSerialPort is essential. If not you can stick to reading from the UART file. I might be wrong. I just started to use C++ and Qt.
  • [Solved] My program will only run on some computers

    14
    0 Votes
    14 Posts
    3k Views
    S
    I found the error: i did this @#include "languagelist.h" #include <langitmodel.h>@ instead of this: @#include "languagelist.h" #include "langitmodel.h"@
  • [Solved] Qt 5.3.1 MSVC2013 Build error

    3
    0 Votes
    3 Posts
    999 Views
    S
    I found the error: i did this @ #include "languagelist.h" #include <langitmodel.h> @ instead of this: @#include "languagelist.h" #include "langitmodel.h"@
  • Error 127 when building project

    2
    0 Votes
    2 Posts
    3k Views
    S
    Am using ubuntu 64bit Os on my laptop and have a doubt regarding tool chain, i.e which toolchain should i use for beagleboneblack either i686 version or x86 version please mention this too.
  • Installing QWT library for QT creator

    3
    0 Votes
    3 Posts
    2k Views
    SGaistS
    Hi and welcome to devnet, There's no configure for Qwt, just use the qmake from your Qt installation then call make and make install. It's all explained "here":http://qwt.sourceforge.net/qwtinstall.html
  • [SOLVED] android - Could not start process "make" - linux opensus

    8
    0 Votes
    8 Posts
    6k Views
    p3c0P
    Well that's fine, Welcome :) I actually overlooked the make command requirement at first :o On some linux distros make command is not installed by default.
  • [Solved] QTSerialPort, 4.8.4 [install_target_headers] Error 1

    15
    0 Votes
    15 Posts
    8k Views
    M
    Yeah. I work with rfid reader through usb, but i can only see COM ports. Maybe CreateFile for a com port, read from ttyO0 and write on the new file? if QSerialPort is essential. If not you can stick to reading from the UART file. I might be wrong. I just started to use C++ and Qt.
  • 0 Votes
    1 Posts
    573 Views
    No one has replied
  • SDK Qt 4.8.1 Creator 2.4.1 MSVC2010

    3
    0 Votes
    3 Posts
    1k Views
    SGaistS
    Hi, MSVC2010 is not provided by the Qt project, it's a Microsoft product that you have to download yourself
  • [windows] qmysql driver not loaded

    3
    0 Votes
    3 Posts
    1k Views
    SGaistS
    Hi and welcome to devnet, You also need to have the MySQL client dll containing folder in your PATH environment variable. You can update it in the Run part of the project panel
  • 0 Votes
    8 Posts
    6k Views
    E
    Hy, Finally, I followed the recommandation of JKSH : Clear of all environment variables Installation of VS2013 Express Installation of Qt 5.3.1 for Windows 32-bit (VS 2013, 559 MB) Installation of Qwt 6.1.0 (need to launch nmake and nmake install) Use of Qt Creator for build Qt project and Qwt Project All is right. Thanks for all to JKSH and SGaist for your help. Best regards.
  • [SOLVED] Compiling error : 'QTextEdit' Does not name a type

    10
    0 Votes
    10 Posts
    7k Views
    SGaistS
    You're welcome Deploy on your computer Start Menu -> Qt Version -> Command Prompt (something similar) Start Menu -> Qt Version -> Linguist (again something similar)
  • [SOLVED] QT 4.8* VS2010 /MT & /MTd

    4
    0 Votes
    4 Posts
    8k Views
    D
    Hello All, I am new QT and I have been trying to build a static build of QT for MSVC2013. But the Nmake fails with the following types of linker errors. Appreciate your help in resolving these : link /NOLOGO /DYNAMICBASE /NXCOMPAT /STACK:4194304 /INCREMENTAL:NO /SUBSYSTEM:CONSOLE/MANIFESTDEPENDENCY:type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' publicKeyToken='6595b64144ccf1df' language='' proces sorArchitecture=''" /MANIFEST/MANIFESTFILE:......\bin\qdoc.exe.embed.manifes t /OUT:......\bin\qdoc.exe @C:\Users\dlink14\AppData\Local\Temp\nm1DD8.tmp Qt5Xml.lib(qdom.obj) : error LNK2038: mismatch detected for 'RuntimeLibrary': va lue 'MD_DynamicRelease' doesn't match value 'MT_StaticRelease' in atom.obj Qt5Xml.lib(qxml.obj) : error LNK2038: mismatch detected for 'RuntimeLibrary': value 'MD_DynamicRelease' doesn't match value 'MT_StaticRelease' in atom.obj msvcprt.lib(MSVCP120.dll) : error LNK2005: "void __cdecl std::_Xbad_alloc(void)" (?_Xbad_alloc@std@@YAXXZ) already defined in libcpmt.lib(xthrow.obj) msvcprt.lib(MSVCP120.dll) : error LNK2005: "void __cdecl std::_Xlength_error(char const *)" (?_Xlength_error@std@@YAXPBD@Z) already defined in libcpmt.lib(xthrow.obj) msvcprt.lib(MSVCP120.dll) : error LNK2005: "void __cdecl std::_Xout_of_range(char const *)" (?_Xout_of_range@std@@YAXPBD@Z) already defined in libcpmt.lib(xthrow.obj) msvcprt.lib(MSVCP120.dll) : error LNK2005: "char const * __cdecl std::_Syserror_map(int)" (?_Syserror_map@std@@YAPBDH@Z) already defined in libcpmt.lib(syserror .obj) msvcprt.lib(MSVCP120.dll) : error LNK2005: "char const * __cdecl std::Winerror map(int)" (?_Winerror_map@std@@YAPBDH@Z) already defined in libcpmt.lib(syserror.obj) MSVCRT.lib(MSVCR120.dll) : error LNK2005: _memmove already defined in LIBCMT.lib(memmove.obj) MSVCRT.lib(MSVCR120.dll) : error LNK2005: __hypot already defined in LIBCMT.lib(hypot.obj) MSVCRT.lib(ti_inst.obj) : error LNK2005: "private: __thiscall type_info::type_in fo(class type_info const &)" (??0type_info@@AAE@ABV0@@Z) already defined in LIBC MT.lib(typinfo.obj) MSVCRT.lib(ti_inst.obj) : error LNK2005: "private: class type_info & __thiscalltype_info::operator=(class type_info const &)" (??4type_info@@AAEAAV0@ABV0@@Z) a lready defined in LIBCMT.lib(typinfo.obj) Creating library ......\bin\qdoc.lib and object ......\bin\qdoc.exp LINK : warning LNK4098: defaultlib 'MSVCRT' conflicts with use of other libs; use /NODEFAULTLIB:library ......\bin\qdoc.exe : fatal error LNK1169: one or more multiply defined symbols found NMAKE : fatal error U1077: '"C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\BIN\link.EXE"' : return code '0x491' Stop. NMAKE : fatal error U1077: '"C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\BIN\nmake.exe"' : return code '0x2' I have configured the conf file as advised in the post as follows QMAKE_CFLAGS_RELEASE = -O2 -MT QMAKE_CFLAGS_DEBUG = -Zi -MTd and before running nmake set the configuration as follows : configure -debug-and-release -opensource -static -opengl desktop -mp -nomake examples -platform win32-msvc2013 Appreciate your response. thanks.
  • 0 Votes
    3 Posts
    1k Views
    A
    Did you install "Qt Creator 5.0.2" or Qt 5.0.2 ? If later then asistant should be in install_dir/Qt5.0.2/5.0.2/gcc/bin/assistant
  • 0 Votes
    11 Posts
    7k Views
    S
    Try this workaround: http://qt-project.org/forums/viewthread/32660/
  • LNK1104: cannot open file 'gdi32.lib'

    2
    0 Votes
    2 Posts
    2k Views
    B
    Well I feel like an idiot. After all this troubleshooting and reading... all I needed to do was re-install the Windows 8.1 SDK and then everything just started working. Maybe someone else will run into a similar issue in the future. If so... try reinstalling the proper version of the Windows SDK and see if it helps!
  • Qt configure & build problem using ubuntu 10.10

    9
    0 Votes
    9 Posts
    6k Views
    ?
    [quote author="mahi prajapati" date="1406867785"]Hello andreyc, Thank You so much for your quick reply.. I just tried it with another version and it is working for me..sorry for the trouble.. Thank You.[/quote] Please edit it as "Solved" in the heading. Thank you
  • QtCreator and cURL - final showdown.

    17
    0 Votes
    17 Posts
    11k Views
    J
    Finally, problem solved. I run untitled.exe form explorer, and message shown, which dll is necessary. So I download some dll's and it's work. Thanks for response.
  • Can't execute the .exe file of my programm

    3
    0 Votes
    3 Posts
    909 Views
    J
    Thank you very much. That solved my problem :)