跳到內容

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 主題 51.1k 貼文
  • Cross-compile and deploy from linux to windows

    Unsolved cross compile linux windows 10 compiling deploying
    10
    0 評價
    10 貼文
    24k 瀏覽
    J.HilkJ
    @Tranquil I don't know how you read your text-file. But if it is for example with QTextStream, you coulc read line by line, call QString QString::simplified() const on it. that removes all leading and trailing whitespaces and reduces al other whitespaces to a simple single space. That should include tab and multiple spaces. Than QString::splitRef(QChar::Space); on it and you have a vector of all your entries (in StringRef format) -> convert it to your container.
  • QtIFw: updateFinished does not called

    Unsolved
    3
    0 評價
    3 貼文
    636 瀏覽
    S
    @Ratzz @Ratzz said in QtIFw: updateFinished does not called: @Schenk said in QtIFw: updateFinished does not called: BUT the updateFinished() mtheod is never called. How do you know its never called? There is more code than in this example and so i know it, because nothing happens. @Schenk said in QtIFw: updateFinished does not called: Console.log("############## asssasasasaskbdfjkldbf"); Where is the log printed? It should be in the log file and i think in the console.
  • Trouble With XKB, Deploying Remotely

    Unsolved
    2
    0 評價
    2 貼文
    769 瀏覽
    M
    Just for those who stumble across this: This is solved by installing xkeyboard-config on the remote machine.
  • pyqt4 installation on Mac OS 10.13.6 error error error!!!

    Unsolved
    2
    0 評價
    2 貼文
    604 瀏覽
    SGaistS
    Hi and welcome to devnet, Since you are already using conda, why not install PyQt4 directly through it ?
  • ui_*.h Files generated in wrong directory

    Solved
    5
    0 評價
    5 貼文
    698 瀏覽
    aha_1980A
    @Tomax63 Yeah you have to be careful with that. If you use shadow building (i.e. build dir is outside source dir), but have generated files or Makefiles in the source dir, strange things may happen. But good you figured it out :) So please mark this topic as SOLVED too. Thanks
  • qt-everywhere-src-5.11.1.zip missing configure.exe ?

    Unsolved
    5
    0 評價
    5 貼文
    1k 瀏覽
    N
    @SGaist Thanks! Indeed, it appears helpful to compare the output from Qt 5.7.1 configure.bat -help and Qt 5.11.1 configure.bat --help! Qt 5.7.1 said: -no-sql-<driver> ... Disable SQL <driver> entirely, by default none are turned on. -qt-sql-<driver> ... Enable a SQL <driver> in the Qt Library. -plugin-sql-<driver> Enable SQL <driver> as a plugin to be linked to at run time. Available values for <driver>: mysql psql oci odbc tds db2 sqlite sqlite2 ibase (drivers marked with a '+' have been detected as available on this system) -system-sqlite ..... Use sqlite from the operating system. Whereas Qt 5.11.1 says: Database options: -sql-<driver> ........ Enable SQL <driver> plugin. Supported drivers: db2 ibase mysql oci odbc psql sqlite2 sqlite tds [all auto] -sqlite .............. Select used sqlite3 [system/qt] I guess that means that I don't need to explicitly switch on sql-odbc anymore, as it already appears enabled by default, with Qt 5.11.1. :-)
  • Problems building QT x86 libraries from source with Visual Studio 2017 (15.8.3) and QT 5.11.1

    Unsolved
    3
    0 評價
    3 貼文
    752 瀏覽
    C
    Hi Andy, Seems to be the same as this but building the x86 version: https://bugreports.qt.io/browse/QTBUG-68954 error C2039: 'auto_ptr': is not a member of 'std' in qtbase\src\3rdparty\angle\src\compiler\preprocessor\MacroExpander.h Unfortunately, none of the suggestions in that bug report helped me. I found a workaround for the minute is to change the auto_ptr to uniqute_ptr in MacroExpander.h, it now compiles. Thanks, Brent.
  • QtIF: Extract Update sequence

    Unsolved
    12
    0 評價
    12 貼文
    2k 瀏覽
    S
    I tried to copy the files which i want to save before the uninstallation/update via UNDOEXECUTE, but there is no chance to save this files. They dissapear. Even if iy try the xcopy, xcopy etc., no file get saved.
  • Can't build project

    Solved
    5
    0 評價
    5 貼文
    738 瀏覽
    F
    @TobbY And thank you for your effort
  • How to Install Qt3DStudio & QtCreator and work them together (explained)

    Solved
    1
    5 評價
    1 貼文
    273 瀏覽
    尚無回覆
  • Qt doesn't work in my ArchLinux docker

    Unsolved docker
    25
    0 評價
    25 貼文
    10k 瀏覽
    E
    @mviereck Thanks for the command! The syscalls used by my application are the following: access, arch_prctl, brk, close, connect, execve, fstat, futex, getcwd, getdents, geteuid, getpid, getrandom, getuid, lseek, lstat, mmap, mprotect, munmap, openat, prlimit64, read, readlink, rt_sigaction, rt_sigprocmask, set_robust_list, set_tid_address, socket, stat, statx, write From what I can tell, all of these are allowed by the default seccomp profile of Docker 18.06, only the rule for arch_prctl is listed separately. I also verified that Docker has no problems accessing the seccomp file, which could've been a cause for my problem. Perhaps I should do a kernel update, as it currently is my last idea to fix this issue (without using --security-opt seccomp=unconfined).
  • Error Building QT Project With Static 5.10.1

    Unsolved
    8
    0 評價
    8 貼文
    1k 瀏覽
    SGaistS
    What part of the application is using the designer module ?
  • Error building Qt MySQL driver, windows 10.

    Unsolved mysql driver
    4
    0 評價
    4 貼文
    1k 瀏覽
    SGaistS
    IIRC, if you start from the git clone. Why not use the archive corresponding to your Qt version ?
  • Detection of icu libs fails with VS2017

    Unsolved
    1
    0 評價
    1 貼文
    462 瀏覽
    尚無回覆
  • qwebkit

    Unsolved
    2
    0 評價
    2 貼文
    326 瀏覽
    SGaistS
    Hi and welcome to devnet, You can use @Konstantin-Tokarev QtWebKit reboot.
  • redhat Installation and Launch procedure

    Unsolved
    2
    0 評價
    2 貼文
    353 瀏覽
    SGaistS
    Hi, A quick google search on how to use Red Hat's package manager would have likely gotten you the answer faster. Something like: yum install qt-creator should do the trick.
  • virtual keyboard in QT5.7.1

    Unsolved
    11
    0 評價
    11 貼文
    5k 瀏覽
    S
    Hello @AndyS Thank you very much for your fast reply At this moment I do not have any install/lib directory as I did not run make install because of errors in make phase. Additionally I will look into installation of Qt renderer and will update you. This can take few days as right now I need to finish other high priority task. many thanks :) Regards Saurabh
  • Building libraries from sources.

    Unsolved
    2
    0 評價
    2 貼文
    432 瀏覽
    K
    @frogi16 Hi and welcome in devnet forum In most cases MinGW compiled and Visual Studio libraries are not compatible. The object structure and naming is different and therefore the linker cannot find the proper modules. Therefore, you have the choice of downloading Qt pre-compiled for your VS compiler, if it is available or to recompile your external library with MinGW tool chain. mingw32-make.exe shall be available in the bin folder of your MinGW installation.
  • 此主題已被刪除!

    Unsolved
    2
    0 評價
    2 貼文
    6 瀏覽
  • Qt Creator build fails with mtdev development package not found

    Solved qt 5.5 build mtdev
    4
    0 評價
    4 貼文
    3k 瀏覽
    D
    If you want to compile from source, you need to follow the steps described here: http://doc.qt.io/qt-5/build-sources.html Thanks, I am trying this now. The compilation completed successfully, after I had configured with -qt-xcb (otherwise there would be an issue with library xcb-sync). Thanks @aha_1980 for the advices !