Results 1 to 1 of 1

Thread: error: 'qt_plugin_instance_Welcome' has not been declared when compiling Qt-Creator

  1. #1
    Join Date
    Jul 2013
    Posts
    16
    Qt products
    Qt4 Qt5
    Platforms
    Unix/X11
    Thanks
    6

    Default Re: error: 'qt_plugin_instance_Welcome' has not been declared when compiling Qt-Creat

    I installed 4.8.5 from source code to my system. After that I started to compile Qt Creator 2.8.0. I use
    Qt Code:
    1. qmake -r
    2. make
    To copy to clipboard, switch view to plain text mode 
    as shown in README.
    After make command I get this error:
    Qt Code:
    1. welcomeplugin.cpp:371: error: 'qt_plugin_instance_Welcome' has not been declared
    2. make[3]: *** [.obj/release-shared/welcomeplugin.o] Error 1
    3. make[3]: Leaving directory `/home/el/Desktop/qt-creator-2.8.0-src/src/plugins/welcome'
    4. make[2]: *** [sub-welcome-make_default] Error 2
    5. make[2]: Leaving directory `/home/el/Desktop/qt-creator-2.8.0-src/src/plugins'
    6. make[1]: *** [sub-plugins-make_default-ordered] Error 2
    7. make[1]: Leaving directory `/home/el/Desktop/qt-creator-2.8.0-src/src'
    8. make: *** [sub-src-make_default-ordered] Error 2
    To copy to clipboard, switch view to plain text mode 

    After that I use this command for qmake:
    Qt Code:
    1. /usr/local/Trolltech/Qt-4.8.5/bin/qmake "QT_PRIVATE_HEADERS=/usr/local/Trolltech/Qt-4.8.5/include" /home/el/Desktop/qt-creator-2.8.0-src/qtcreator.pro
    To copy to clipboard, switch view to plain text mode 

    But nothing change. I get same error.

    Also I downloaded .run file. But After
    Qt Code:
    1. ./qt-creator-linux-x86-opensource-2.8.0.run
    To copy to clipboard, switch view to plain text mode 
    command I get this error:
    Qt Code:
    1. ./qt-creator-linux-x86-opensource-2.8.0.run: symbol lookup error: ./qt-creator-linux-x86-opensource-2.8.0.run: undefined symbol: g_main_context_push_thread_default
    To copy to clipboard, switch view to plain text mode 

    How can I resolve this?

    I downloaded Qt 4.8.5 and Qt Creator 2.8.0 from download.qt-project.org.


    Added after 10 minutes:


    I tried to install Qt Creator 2.5.2 from source code shortly before. And I get this error:

    Qt Code:
    1. ../../../../qt-creator-2.5.2-src/src/plugins/find/findplugin.cpp:403: error: 'qt_plugin_instance_Find' has not been declared
    2. make[3]: *** [.obj/release-shared/findplugin.o] Error 1
    3. make[3]: Leaving directory `/home/eliar/Desktop/qc252/src/plugins/find'
    4. make[2]: *** [sub-find-make_default] Error 2
    5. make[2]: Leaving directory `/home/eliar/Desktop/qc252/src/plugins'
    6. make[1]: *** [sub-plugins-make_default-ordered] Error 2
    7. make[1]: Leaving directory `/home/eliar/Desktop/qc252/src'
    8. make: *** [sub-src-make_default-ordered] Error 2
    To copy to clipboard, switch view to plain text mode 
    Last edited by iskenderoguz; 19th July 2013 at 10:37.

Similar Threads

  1. Qt Creator Compilation error when compiling Qt Creator 2.0 for x64
    By agerlach in forum Qt Tools
    Replies: 2
    Last Post: 9th July 2010, 23:56
  2. Error compiling Qt Creator src on windows
    By munna in forum Installation and Deployment
    Replies: 2
    Last Post: 18th May 2009, 13:58
  3. error compiling Qt Creator
    By gt.beta2 in forum Qt Tools
    Replies: 3
    Last Post: 6th April 2009, 15:49
  4. error variable not declared
    By aj2903 in forum Qt Programming
    Replies: 1
    Last Post: 3rd December 2008, 16:58
  5. error: 'QDesktopServices' has not been declared
    By ucomesdag in forum Qt Programming
    Replies: 7
    Last Post: 24th November 2006, 16:36

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Qt is a trademark of The Qt Company.