Navigation

    Qt Forum

    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Search
    • Unsolved
    1. Home
    2. Tags
    3. compilation
    Log in to post

    • UNSOLVED Problem compiling for Android from Windows
      Mobile and Embedded • android compilation qt 5.15 • • mipr  

      1
      0
      Votes
      1
      Posts
      13
      Views

      No one has replied

    • SOLVED Dependencies missing after DLL compilation
      General and Desktop • qmake dll compilation dependencies labview • • UvQtcYZJuD7J5VW7  

      13
      0
      Votes
      13
      Posts
      93
      Views

      @UvQtcYZJuD7J5VW7 said in Dependencies missing after DLL compilation: Unfortunately, LabView is not very talkative. This is the only error message I get. I have already recreated the node. Ah, check the dependencies of the DLLs that you deployed. For example, libgcc_s_dw2-1.dll depends on other DLLs too. Otherwise I could programming the entire program in Qt and so I will not have the need to use a DLL. If you can do everything in 1 language, that makes life a lot easier.
    • UNSOLVED Libicu, needed by Qt5Core, compilation issues. Please help!! Worked fine in 18.04, but not 16.04.
      Installation and Deployment • error compilation ubuntu 16.04 qtcore help install • • zeethree50  

      8
      0
      Votes
      8
      Posts
      1050
      Views

      @zeethree50 said in Libicu, needed by Qt5Core, compilation issues. Please help!! Worked fine in 18.04, but not 16.04.: And it worked for me Great, so please don't forget to mark your post as solved!
    • SOLVED Getting "unresolved externals" error while building QtCreator
      General and Desktop • qtcreator qt5 build compilation qmldesigner • • Eager  

      5
      0
      Votes
      5
      Posts
      1460
      Views

      @Eager, it worked for me. Thanks!
    • SOLVED How to add a step of compilation of a .bat file
      General and Desktop • compilation • • cdcc0606  

      6
      0
      Votes
      6
      Posts
      1298
      Views

      @koahnig Thanks so much
    • SOLVED qtbase compilation error with --device linux-rasp-pi3-g++ qeglfskmsgbmwindow.cpp
      Mobile and Embedded • raspberry pi eglfs compilation qtbase • • ronperek  

      9
      0
      Votes
      9
      Posts
      5378
      Views

      I also encountered this problem. It can be solved by manually adding the following definition of this structure (from Raspberry Pi Video Core API) into EGL/eglplatform.h (adding additional definition will not break compilation on non-legacy code that does not use this structure). And you also need to add the definition of DISPMANX_ELEMENT_HANDLE_T before that. i.e., typedef uint32_t DISPMANX_ELEMENT_HANDLE_T; typedef struct { DISPMANX_ELEMENT_HANDLE_T element; int width; /* This is necessary because dispmanx elements are not queriable. */ int height; } EGL_DISPMANX_WINDOW_T; After doing this, you will still encounter a few compilation errors in pointer casting. You can just forcefully cast all pointers over (or copy my code ). The compilation should proceed then. The reason why the compilation breaks is because in the open-source community, many developers still come from private companies working on proprietary projects. Some need to show to their boss that they have done something, so they unnecessarily keeps changing definitions, names, removing structures they do not know about due to their ignorance on other platforms/architectures (so they can say "oh, I did code-base clean-up"). In the end, it causes massive compilation breaks/failures. However, the underlying code is still the same, that is why directly casting pointers over surprisingly works out in the end, which should not be the case if substantial development is present. In summary, the No.1 development principle is that code modification should be made as minimal as possible and should exist if and only if necessary.
    • UNSOLVED QML : Consummation memory with QtQuick Compiler.
      QML and Qt Quick • qml qtquick qt5.9 compilation ram • • AdibH  

      2
      0
      Votes
      2
      Posts
      707
      Views

      Hi and welcome to devnet, That's a question you should rather bring to the interest mailing list. You'll find there Qt's developers/maintainers. This forum is more user oriented.
    • UNSOLVED Adding a MSVC compiler to a kit (Qt Creator 4.2 on Win10)
      Installation and Deployment • msvc2015 compilation qt creator 4.2 • • Pierrick Chandonnay  

      2
      0
      Votes
      2
      Posts
      7346
      Views

      Hi and welcome to devnet, Qt Creator should auto detect the compiler for you. However what usually happens is that people install Visual Studio without checking the C++ option during installation thus they have a VS environment but nothing to build C++ code. You should first check that. Note that you also need to install the debugger separately. The one coming with VS is "internal" and cannot be used by other applications.
    • UNSOLVED Compiling Qt 5.7 on Windows using MinGW
      General and Desktop • mingw windows 7 compilation 5.7 • • thEClaw  

      7
      0
      Votes
      7
      Posts
      3050
      Views

      I did install the one coming with the Qt package, there is no other version installed.
    • UNSOLVED QtCreator 4.0.0 no more mingw parallel compilation
      Tools • qtcreator creator compilation parallel 4.0.0 • • Keyos  

      13
      0
      Votes
      13
      Posts
      4532
      Views

      @koahnig said: Either you need to add "-j4" as make parameter to each of your projects. Otherwise you can set also "MAKEFLAGS=-j4" to your environment (e.g. for a kit as suggested above). Correction to above post. I have set it to system environment. I did not get it to work in kit environment. Both were set due to my trials, but the latter alone (in kit environment) does not help.
    • SOLVED [SOLVED] Link error - Undefined reference
      Installation and Deployment • compilation link error • • Calivernon  

      9
      0
      Votes
      9
      Posts
      5493
      Views

      That's a good news but still a strange mystery… By the way, no need to modify the thread title, you can mark it as solved using the "Topic Tool" button :)
    • UNSOLVED Qt Creator 3.5.1 qmake errors with Qt 5.5.1
      General and Desktop • quick compilation qt 5.5.1 qtcreator 3.5.1 • • hwe1973  

      6
      0
      Votes
      6
      Posts
      2402
      Views

      That one's a classic (and a question that regularly comes back)
    • UNSOLVED sorry, unimplemented: '-mgeneral-regs-only' and floating point code
      Mobile and Embedded • arm yocto compilation compile-error • • Vigneshwaran  

      5
      0
      Votes
      5
      Posts
      5161
      Views

      Fine, Thanks.
    • Installing Qt5.5 on linux without X server
      General and Desktop • linux qmake compilation • • crooveck  

      1
      0
      Votes
      1
      Posts
      1142
      Views

      No one has replied

    • Unable to run Application compiled by QT creator in other windows machine
      Installation and Deployment • installation static build compilation • • jitu059_Lalat  

      2
      0
      Votes
      2
      Posts
      1025
      Views

      @jitu059_Lalat The long and short if it are, you have two ways to do this: Find all the dll's that your app depends on. You can do this with the tool http://www.dependencywalker.com/. Once you found all the dll's copy them into the same folder as your executable. This is now your "delivery package" you will copy the executable + dlls from PC to PC. This method is perhaps a bit easier/faster in the short term, but when you compile with different versions of Qt/Windows you may require a different set of dlls (i.e. Qt4 Dlls don't match Qt5 Dlls). Download the Qt source code and compile it for static linking. Then when you build your code you will get a much larger executable file, but it will contain everything it needs - a standalone executable. This is perhaps a bit more work on your part, but master this and it makes deploying your project from PC to PC much easier. Have a go at one or other method, if you get stuck then ask again. But as SGaist said, there is lots of documentation out there already : )
    • Qt5.4.2 cross compilation for embedded Linux fails
      Mobile and Embedded • embedded linux compilation qt5.4.2 failed • • kafanti  

      1
      0
      Votes
      1
      Posts
      933
      Views

      No one has replied

    • What does this code mean? error: [debug/moc_user.cpp] Error 1
      QML and Qt Quick • error compilation moc error 1 • • Kofr  

      6
      0
      Votes
      6
      Posts
      7301
      Views

      You did a complete rebuild as well? The run of qmake does not create an error code, but it does not introduce a moc statement into makefile. I guess you are using a shadow for compiling. Delete the whole shadow folder, rerun qmake once again and rebuild. If you think it imay be a bug related to Qt 5.5 you can check on JIRA.
    • [SOLVED]Qt Throwing error when attempting to compile android APK
      Mobile and Embedded • android error compilation apk wont compile • • ApprenticeCoder  

      8
      0
      Votes
      8
      Posts
      13594
      Views

      Use the latest version of the SDK(At this time 24.3.3), Use Ant(Gradle still won't work), Use the latest NDK and latest Qt Creator Release.(5.4 at this time). That's what I did to get it to work for me. Large thanks to sk2212 and all the other idea's!
    • ERROR: QXcbConnection: Could not connect to display
      General and Desktop • qtcreator qt 5.4.1 compilation • • lilouch  

      4
      0
      Votes
      4
      Posts
      5542
      Views

      Then what distribution are you running ? Which Desktop Manager ?
    • C++ / compilation of a program fatal error: QtGui/qwidget.h: No such file or directory
      General and Desktop • c++ qmake qt4 compilation • • lilouch  

      2
      0
      Votes
      2
      Posts
      4534
      Views

      Okey I finally soved it bu adding this line to the CMakeList INCLUDE_DIRECTORIES("/usr/include/qt4/") I don't know why the authors didn't put this line into the CmakeList.
    • Problem with application launch
      Installation and Deployment • compilation linking undefined symbo • • Nara  

      3
      0
      Votes
      3
      Posts
      986
      Views

      I finally made it, thanks to your link. I was indeed using the wrong library. I also missed the libxcb plugin but I added it to the project "package" and it now works fine. I was ready to bang my head against the walls.
    • QMAKE_FILE_NAME is weird
      General and Desktop • qmake build compilation compiler qmake makefile protobuf • • Spez  

      5
      0
      Votes
      5
      Posts
      4592
      Views

      qmake provides functions for processing the contents of variables during the configuration process. As QMAKE_FILE_NAME is a run-time and not a configuration-time variable it cannot be edited by clean_path, seems this problem cannot be solved this way, anyone any ideas? EDIT: I think I finally found a proper solution: PROTOS = interface_definitions.proto PROTOPATH = $$relative_path($$PWD, $$OUT_PWD) \ protoc is now being called this way: protoc --cpp_out=. --proto_path=. --proto_path=../project/ ../project/interface_definitions.proto everything works fine now!
    • QPlugin inter Dependency
      General and Desktop • plugin compilation qpluginloader • • Suths  

      2
      0
      Votes
      2
      Posts
      947
      Views

      Hi, For the interface part, you could have a common library that offers all the interfaces (e.g. MyAbstractPluginInterface) that your plugin will use and link to that library. Hope it helps
    • Compiling error Qt 5.5 Alpha using Visual Studio 2015
      General and Desktop • qt5.5 visual studio compilation • • nazar554  

      1
      0
      Votes
      1
      Posts
      970
      Views

      No one has replied

    • Regarding development of software in both X-32 and x-64 bit OS configurations
      Installation and Deployment • pyqt configure qt application cross platform compilation 64 bits 32 bits • • John R  

      7
      0
      Votes
      7
      Posts
      2029
      Views

      @sierdzio said: Thanks a lot for the clarification.
    • How to compile QT open-source for windows 64 bit using visual studio 2012
      General and Desktop • visual studio compilation qt 4.8 • • John R  

      9
      0
      Votes
      9
      Posts
      4653
      Views

      @grazia88g said in How to compile QT open-source for windows 64 bit using visual studio 2012: has anyone ever done the same for Visual Studio 2010? Qt 5.7 and newer cannot be built with Visual Studio 2010
    • QProcess execute a unkown program
      General and Desktop • qprocess compilation red pitaya • • grafzahl  

      5
      0
      Votes
      5
      Posts
      2823
      Views

      @grafzahl said: I also now use the system command. If you can, I suggest to use QProcess to run external commands. This for two reasons: QProcess is cross-platform (in the future you could want to build your application also on other platforms); You can have direct access to the standard out/err, ....
    • Static compilation of Qt5 in Linux
      Installation and Deployment • linux qt5.5 static compilation compile-errors • • vdev  

      1
      0
      Votes
      1
      Posts
      819
      Views

      No one has replied