Skip to content
  • 0 Votes
    7 Posts
    263 Views
    J

    thanks!!

  • 0 Votes
    8 Posts
    723 Views
    jsulmJ

    @joej said in g++: error: /DEBUG: No such file or directory:

    MSVC compiler (x86-windows-msvc2005-pe-32bit) cannot produce code for "Qt 5.12.12 MSVC2017 32bit"

    Use newer MSVC compiler

  • 0 Votes
    3 Posts
    490 Views
    T

    @jsulm
    Since I'm on Windows, it should still be -llibzmq-v140-mt-s-4_3_4. However for this library to work, a preprocessor directive ZMQ_STATIC needs to be added

  • 0 Votes
    5 Posts
    661 Views
    O

    I solved it, the makefile contains this command as well:

    flex MyLanguage.l

    and in the OS there is two intalled flex, Qt used the wrong one.

  • 0 Votes
    17 Posts
    1k Views
    Christian EhrlicherC

    @mattfbacon said in MOC: signals and slots can't be on same line:

    Really, moc should be using a full C++ parser...

    Again: feel free to provide a patch instead blaming around that a corner case does not work...

  • 0 Votes
    2 Posts
    401 Views
    SGaistS

    Hi,

    Why did you build the VTK integration with a different version of Qt ?

  • 0 Votes
    1 Posts
    438 Views
    No one has replied
  • 0 Votes
    6 Posts
    2k Views
    SGaistS

    Hi,

    Might be a silly question but are you linking your .dll against Qt's widgets module ?

  • 1 Votes
    34 Posts
    12k Views
    E

    @JonB well, I thought it just creates a new build file for the new compiler (which it does), but I have to admit my understanding for compilers is not very deep.

  • 0 Votes
    8 Posts
    5k Views
    Pablo J. RoginaP

    @Vagabond please don't forget to mark your post as solved... thanks.

  • 0 Votes
    6 Posts
    2k Views
    SGaistS

    Hi,

    Can you show your class definition ?

  • 0 Votes
    6 Posts
    12k Views
    SGaistS

    Just use QT += module

    That test is really only useful for code bases that should be built with both Qt 4 and Qt 5 since the widgets have moved to their own module in Qt 5.

  • 0 Votes
    3 Posts
    1k Views
    K

    @patrikd
    Thank your suggestion worked fine for my framework too.
    Wish I could give you a cartload of reps for that :-).

  • 0 Votes
    4 Posts
    2k Views
    L

    Thank you for the hint about 'solved'.

  • 0 Votes
    2 Posts
    2k Views
    T

    What exactly are you trying to compile / link?

  • 0 Votes
    11 Posts
    6k Views
    SGaistS

    For b, check whether the library has other dependencies. You might be missing one.

  • 0 Votes
    4 Posts
    4k Views
    jsulmJ

    You can try to add your static libraries like this: LIBS += PATH_TO_LIB_DIR/libLIBNAME.lib

  • 0 Votes
    4 Posts
    2k Views
    R

    As far as I understand qmake should take care of it automatically right? It generates a makefile for dummyimplugin3 makefile.debug which has .moc\moc_dummyinputmethod3.cpp listed under SOURCES and .obj\moc_dummyinputmethod3.obj listed under OBJECTS

    From the compiler output it seems it gets built and linked?:

    cd dummyimplugin3\ && ( if not exist Makefile C:\Qt\5.5\msvc2013\bin\qmake.exe C:\QtProjects\MaliitFrameworkGitHub\framework\tests\dummyimplugin3\dummyimplugin3.pro -spec win32-msvc2013 "CONFIG+=debug" "CONFIG+=declarative_debug" "CONFIG+=qml_debug" -o Makefile ) && C:\Qt\Tools\QtCreator\bin\jom.exe -f Makefile C:\Qt\Tools\QtCreator\bin\jom.exe -f Makefile.Debug cl -c -nologo -Zc:wchar_t -FS -Zi -MDd -GR -W3 -w34100 -w34189 -w44996 -EHsc /Fd..\plugins\dummyimplugin3.pdb -DUNICODE -DWIN32 -DMALIIT_PLUGINS_DIR=\"/usr/lib/maliit/plugins\" -DMALIIT_PLUGINS_DATA_DIR=\"/usr/share/maliit/plugins\" -DMALIIT_FACTORY_PLUGINS_DIR=\"/usr/lib/maliit/plugins/factories\" -DMALIIT_EXTENSIONS_DIR=\"/usr/share/maliit-framework/extensions/\" -DMALIIT_TEST_PLUGINS_DIR=\"/usr/lib/maliit-framework-tests/plugins\" -DMALIIT_CONFIG_ROOT=\"/maliit/\" -DMALIIT_FRAMEWORK_USE_INTERNAL_API -D__PRETTY_FUNCTION__=__FUNCSIG__ -DNOXCB -DQT_QML_DEBUG -DQT_DECLARATIVE_DEBUG -DQT_NO_KEYWORDS -DQT_PLUGIN -DQT_QUICK_LIB -DQT_GUI_LIB -DQT_QML_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -I..\..\..\framework\tests\dummyimplugin3 -I. -I..\..\..\framework\common -I..\..\..\framework\src -I..\..\src -IC:\Qt\5.5\msvc2013\include -IC:\Qt\5.5\msvc2013\include\QtQuick -IC:\Qt\5.5\msvc2013\include\QtGui -IC:\Qt\5.5\msvc2013\include\QtANGLE -IC:\Qt\5.5\msvc2013\include\QtQml -IC:\Qt\5.5\msvc2013\include\QtNetwork -IC:\Qt\5.5\msvc2013\include\QtCore -I.moc -IC:\Qt\5.5\msvc2013\mkspecs\win32-msvc2013 -Fo.obj\ @C:\Users\rh\AppData\Local\Temp\dummyimplugin3.obj.2640.0.jom dummyimplugin3.cpp C:\Qt\5.5\msvc2013\bin\moc.exe -DUNICODE -DWIN32 -DMALIIT_PLUGINS_DIR=\"/usr/lib/maliit/plugins\" -DMALIIT_PLUGINS_DATA_DIR=\"/usr/share/maliit/plugins\" -DMALIIT_FACTORY_PLUGINS_DIR=\"/usr/lib/maliit/plugins/factories\" -DMALIIT_EXTENSIONS_DIR=\"/usr/share/maliit-framework/extensions/\" -DMALIIT_TEST_PLUGINS_DIR=\"/usr/lib/maliit-framework-tests/plugins\" -DMALIIT_CONFIG_ROOT=\"/maliit/\" -DMALIIT_FRAMEWORK_USE_INTERNAL_API -D__PRETTY_FUNCTION__=__FUNCSIG__ -DNOXCB -DQT_QML_DEBUG -DQT_DECLARATIVE_DEBUG -DQT_NO_KEYWORDS -DQT_PLUGIN -DQT_QUICK_LIB -DQT_GUI_LIB -DQT_QML_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -D_MSC_VER=1800 -D_WIN32 -IC:/Qt/5.5/msvc2013/mkspecs/win32-msvc2013 -IC:/QtProjects/MaliitFrameworkGitHub/framework/tests/dummyimplugin3 -IC:/QtProjects/MaliitFrameworkGitHub/framework/common -IC:/QtProjects/MaliitFrameworkGitHub/framework/src -IC:/QtProjects/MaliitFrameworkGitHub/build-maliit-framework-Desktop_Qt_5_5_0_MSVC2013_32bit-Debug/src -IC:/Qt/5.5/msvc2013/include -IC:/Qt/5.5/msvc2013/include/QtQuick -IC:/Qt/5.5/msvc2013/include/QtGui -IC:/Qt/5.5/msvc2013/include/QtANGLE -IC:/Qt/5.5/msvc2013/include/QtQml -IC:/Qt/5.5/msvc2013/include/QtNetwork -IC:/Qt/5.5/msvc2013/include/QtCore -I. ..\..\..\framework\tests\dummyimplugin3\dummyimplugin3.h -o .moc\moc_dummyimplugin3.cpp C:\Qt\5.5\msvc2013\bin\moc.exe -DUNICODE -DWIN32 -DMALIIT_PLUGINS_DIR=\"/usr/lib/maliit/plugins\" -DMALIIT_PLUGINS_DATA_DIR=\"/usr/share/maliit/plugins\" -DMALIIT_FACTORY_PLUGINS_DIR=\"/usr/lib/maliit/plugins/factories\" -DMALIIT_EXTENSIONS_DIR=\"/usr/share/maliit-framework/extensions/\" -DMALIIT_TEST_PLUGINS_DIR=\"/usr/lib/maliit-framework-tests/plugins\" -DMALIIT_CONFIG_ROOT=\"/maliit/\" -DMALIIT_FRAMEWORK_USE_INTERNAL_API -D__PRETTY_FUNCTION__=__FUNCSIG__ -DNOXCB -DQT_QML_DEBUG -DQT_DECLARATIVE_DEBUG -DQT_NO_KEYWORDS -DQT_PLUGIN -DQT_QUICK_LIB -DQT_GUI_LIB -DQT_QML_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -D_MSC_VER=1800 -D_WIN32 -IC:/Qt/5.5/msvc2013/mkspecs/win32-msvc2013 -IC:/QtProjects/MaliitFrameworkGitHub/framework/tests/dummyimplugin3 -IC:/QtProjects/MaliitFrameworkGitHub/framework/common -IC:/QtProjects/MaliitFrameworkGitHub/framework/src -IC:/QtProjects/MaliitFrameworkGitHub/build-maliit-framework-Desktop_Qt_5_5_0_MSVC2013_32bit-Debug/src -IC:/Qt/5.5/msvc2013/include -IC:/Qt/5.5/msvc2013/include/QtQuick -IC:/Qt/5.5/msvc2013/include/QtGui -IC:/Qt/5.5/msvc2013/include/QtANGLE -IC:/Qt/5.5/msvc2013/include/QtQml -IC:/Qt/5.5/msvc2013/include/QtNetwork -IC:/Qt/5.5/msvc2013/include/QtCore -I. ..\..\..\framework\tests\dummyimplugin3\dummyinputmethod3.h -o .moc\moc_dummyinputmethod3.cpp cl -c -nologo -Zc:wchar_t -FS -Zi -MDd -GR -W3 -w34100 -w34189 -w44996 -EHsc /Fd..\plugins\dummyimplugin3.pdb -DUNICODE -DWIN32 -DMALIIT_PLUGINS_DIR=\"/usr/lib/maliit/plugins\" -DMALIIT_PLUGINS_DATA_DIR=\"/usr/share/maliit/plugins\" -DMALIIT_FACTORY_PLUGINS_DIR=\"/usr/lib/maliit/plugins/factories\" -DMALIIT_EXTENSIONS_DIR=\"/usr/share/maliit-framework/extensions/\" -DMALIIT_TEST_PLUGINS_DIR=\"/usr/lib/maliit-framework-tests/plugins\" -DMALIIT_CONFIG_ROOT=\"/maliit/\" -DMALIIT_FRAMEWORK_USE_INTERNAL_API -D__PRETTY_FUNCTION__=__FUNCSIG__ -DNOXCB -DQT_QML_DEBUG -DQT_DECLARATIVE_DEBUG -DQT_NO_KEYWORDS -DQT_PLUGIN -DQT_QUICK_LIB -DQT_GUI_LIB -DQT_QML_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -I..\..\..\framework\tests\dummyimplugin3 -I. -I..\..\..\framework\common -I..\..\..\framework\src -I..\..\src -IC:\Qt\5.5\msvc2013\include -IC:\Qt\5.5\msvc2013\include\QtQuick -IC:\Qt\5.5\msvc2013\include\QtGui -IC:\Qt\5.5\msvc2013\include\QtANGLE -IC:\Qt\5.5\msvc2013\include\QtQml -IC:\Qt\5.5\msvc2013\include\QtNetwork -IC:\Qt\5.5\msvc2013\include\QtCore -I.moc -IC:\Qt\5.5\msvc2013\mkspecs\win32-msvc2013 -Fo.obj\ @C:\Users\rh\AppData\Local\Temp\dummyinputmethod3.obj.2640.16.jom dummyinputmethod3.cpp cl -c -nologo -Zc:wchar_t -FS -Zi -MDd -GR -W3 -w34100 -w34189 -w44996 -EHsc /Fd..\plugins\dummyimplugin3.pdb -DUNICODE -DWIN32 -DMALIIT_PLUGINS_DIR=\"/usr/lib/maliit/plugins\" -DMALIIT_PLUGINS_DATA_DIR=\"/usr/share/maliit/plugins\" -DMALIIT_FACTORY_PLUGINS_DIR=\"/usr/lib/maliit/plugins/factories\" -DMALIIT_EXTENSIONS_DIR=\"/usr/share/maliit-framework/extensions/\" -DMALIIT_TEST_PLUGINS_DIR=\"/usr/lib/maliit-framework-tests/plugins\" -DMALIIT_CONFIG_ROOT=\"/maliit/\" -DMALIIT_FRAMEWORK_USE_INTERNAL_API -D__PRETTY_FUNCTION__=__FUNCSIG__ -DNOXCB -DQT_QML_DEBUG -DQT_DECLARATIVE_DEBUG -DQT_NO_KEYWORDS -DQT_PLUGIN -DQT_QUICK_LIB -DQT_GUI_LIB -DQT_QML_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -I..\..\..\framework\tests\dummyimplugin3 -I. -I..\..\..\framework\common -I..\..\..\framework\src -I..\..\src -IC:\Qt\5.5\msvc2013\include -IC:\Qt\5.5\msvc2013\include\QtQuick -IC:\Qt\5.5\msvc2013\include\QtGui -IC:\Qt\5.5\msvc2013\include\QtANGLE -IC:\Qt\5.5\msvc2013\include\QtQml -IC:\Qt\5.5\msvc2013\include\QtNetwork -IC:\Qt\5.5\msvc2013\include\QtCore -I.moc -IC:\Qt\5.5\msvc2013\mkspecs\win32-msvc2013 -Fo.obj\ @C:\Users\rh\AppData\Local\Temp\moc_dummyimplugin3.obj.2640.125.jom moc_dummyimplugin3.cpp cl -c -nologo -Zc:wchar_t -FS -Zi -MDd -GR -W3 -w34100 -w34189 -w44996 -EHsc /Fd..\plugins\dummyimplugin3.pdb -DUNICODE -DWIN32 -DMALIIT_PLUGINS_DIR=\"/usr/lib/maliit/plugins\" -DMALIIT_PLUGINS_DATA_DIR=\"/usr/share/maliit/plugins\" -DMALIIT_FACTORY_PLUGINS_DIR=\"/usr/lib/maliit/plugins/factories\" -DMALIIT_EXTENSIONS_DIR=\"/usr/share/maliit-framework/extensions/\" -DMALIIT_TEST_PLUGINS_DIR=\"/usr/lib/maliit-framework-tests/plugins\" -DMALIIT_CONFIG_ROOT=\"/maliit/\" -DMALIIT_FRAMEWORK_USE_INTERNAL_API -D__PRETTY_FUNCTION__=__FUNCSIG__ -DNOXCB -DQT_QML_DEBUG -DQT_DECLARATIVE_DEBUG -DQT_NO_KEYWORDS -DQT_PLUGIN -DQT_QUICK_LIB -DQT_GUI_LIB -DQT_QML_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -I..\..\..\framework\tests\dummyimplugin3 -I. -I..\..\..\framework\common -I..\..\..\framework\src -I..\..\src -IC:\Qt\5.5\msvc2013\include -IC:\Qt\5.5\msvc2013\include\QtQuick -IC:\Qt\5.5\msvc2013\include\QtGui -IC:\Qt\5.5\msvc2013\include\QtANGLE -IC:\Qt\5.5\msvc2013\include\QtQml -IC:\Qt\5.5\msvc2013\include\QtNetwork -IC:\Qt\5.5\msvc2013\include\QtCore -I.moc -IC:\Qt\5.5\msvc2013\mkspecs\win32-msvc2013 -Fo.obj\ @C:\Users\rh\AppData\Local\Temp\moc_dummyinputmethod3.obj.2640.125.jom moc_dummyinputmethod3.cpp link /NOLOGO /DYNAMICBASE /NXCOMPAT /DEBUG /DLL /SUBSYSTEM:WINDOWS /OUT:..\plugins\dummyimplugin3.dll @C:\Users\rh\AppData\Local\Temp\dummyimplugin3.dll.2640.998.jom Creating library ..\plugins\dummyimplugin3.lib and object ..\plugins\dummyimplugin3.exp
  • 0 Votes
    2 Posts
    3k Views
    S

    The above problem has been "autoresolved" with a reboot of my PC.
    Another problem arised: "LINK : fatal error LNK1104: cannot open file 'qtmaind.lib'"
    This is due to the fact that release libraries and debug libraries are stored into 2 different folders.
    So I've taken the source files of Qt4.8.4 from OSG and recompiled them with the desidered options.
    Now everything works.

  • 0 Votes
    2 Posts
    1k Views
    SGaistS

    Hi and welcome to devnet,

    CMake has a Qt 5 finder script that you can use, you would only need to add the path where to find Qt 5 when you call cmake and it will handle things for you.