Results 1 to 6 of 6

Thread: Generic Component Framework

  1. #1
    Join Date
    Jan 2006
    Posts
    5
    Qt products
    Qt3 Qt4
    Platforms
    Unix/X11 Windows

    Default Generic Component Framework

    Generic Component Framework (Qt Contest 2007 Award Winner)

    Graphical User Interfaces have revolutionized the way people think of and interact with computers today. Young computer users may not even be aware of the old terminal based interfaces because of the simple fact that most applications today are GUI applications.

    Developing good user interfaces is a challenging task. Even more challenging is the task maintaining and upgrading huge UI applications. Any developer who has been involved in writing large scale UI application software would agree with this. There are a plethora of UI Widget Libraries available in the software world today to help ease out UI application development. There are also several application frameworks that help provide structure to UI applications and hence make it easy for maintaining and upgrading them. In this page we present a component framework written by us for use in our applications.

    Generic Component Framework or GCF is a custom component framework built using Qt 4.3.x. Using this framework you can compose your application as a collection of components.

    GCF 1.0.573 is now available at http://vcreatelogic.com/oss/gcf/index.html.

  2. #2
    Join Date
    Feb 2007
    Location
    Philadelphia, USA
    Posts
    255
    Thanks
    43
    Thanked 21 Times in 21 Posts
    Qt products
    Qt4
    Platforms
    Unix/X11

    Default Re: Generic Component Framework

    Could give a step 1,2,3 description of how to download, compile and see the first example of GCF in action? I've downloaded the source, but not exactly sure what to do.

  3. #3
    Join Date
    Jan 2006
    Posts
    5
    Qt products
    Qt3 Qt4
    Platforms
    Unix/X11 Windows

    Default Re: Generic Component Framework

    a) Go to PaintApp/Source directory.
    b) Edit local.pri and enter the full path of the PaintApp directory.
    c) qmake -recursive
    d) make
    e) ./GCFPaintApp.

    Page 32 of the manual has detailed comments on the example program. Hope this helps.
    Prashanth N Udupa
    VCreate Logic (P) Ltd.
    www.vcreatelogic.com

    VTK Designer - Open Source VTK Pipeline Editor
    www.vcreatelogic.com/oss/vtkdesigner

  4. #4
    Join Date
    Feb 2007
    Location
    Philadelphia, USA
    Posts
    255
    Thanks
    43
    Thanked 21 Times in 21 Posts
    Qt products
    Qt4
    Platforms
    Unix/X11

    Default Re: Generic Component Framework

    Quote Originally Posted by prashanthudupa View Post
    a) Go to PaintApp/Source directory.
    b) Edit local.pri and enter the full path of the PaintApp directory.
    c) qmake -recursive
    d) make
    e) ./GCFPaintApp.
    After step (d), I see the following error:

    Qt Code:
    1. C:\dev\GCF-1.0.573\PaintApp\Source>make
    2. cd GCF\ && mingw32-make -f Makefile
    3. mingw32-make[1]: Entering directory `C:/dev/GCF-1.0.573/PaintApp/Source/GCF'
    4. mingw32-make -f Makefile.Debug
    5. mingw32-make[2]: Entering directory `C:/dev/GCF-1.0.573/PaintApp/Source/GCF'
    6. g++ -c -g -Wall -frtti -fexceptions -mthreads -DUNICODE -DQT_LARGEFILE_SUPPORT -
    7. D-D_CRT_SECURE_NO_DEPRECATE -DVCL_MAKE_DLL -DQT_DLL -DQT_XML_LIB -DQT_GUI_LIB -D
    8. QT_CORE_LIB -DQT_THREAD_SUPPORT -I"c:\Qt\opensource\4.3.0\include\QtCore" -I"c:\
    9. Qt\opensource\4.3.0\include\QtCore" -I"c:\Qt\opensource\4.3.0\include\QtGui" -I"
    10. c:\Qt\opensource\4.3.0\include\QtGui" -I"c:\Qt\opensource\4.3.0\include\QtXml" -
    11. I"c:\Qt\opensource\4.3.0\include\QtXml" -I"c:\Qt\opensource\4.3.0\include" -I"..
    12. \..\Source" -I"c:\dev\GCF-1.0.573\PaintApp\\Source\Common" -I"..\..\Build\lib" -
    13. I"..\..\Build\objs" -I"include" -I"..\Interfaces" -I"c:\Qt\opensource\4.3.0\incl
    14. ude\ActiveQt" -I"..\..\Build\objs\gcf" -I"..\..\Build\objs\gcf" -I"c:\Qt\opensou
    15. rce\4.3.0\mkspecs\win32-g++" -o ..\..\Build\objs\gcf\CComponentFactory.o source\
    16. CComponentFactory.cpp
    17. <command line>:4:1: macro names must be identifiers
    18. mingw32-make[2]: *** [..\..\Build\objs\gcf\CComponentFactory.o] Error 1
    19. mingw32-make[2]: Leaving directory `C:/dev/GCF-1.0.573/PaintApp/Source/GCF'
    20. mingw32-make[1]: *** [debug] Error 2
    21. mingw32-make[1]: Leaving directory `C:/dev/GCF-1.0.573/PaintApp/Source/GCF'
    22. mingw32-make: *** [sub-GCF-make_default-ordered] Error 2
    To copy to clipboard, switch view to plain text mode 

  5. #5
    Join Date
    Jan 2006
    Posts
    5
    Qt products
    Qt3 Qt4
    Platforms
    Unix/X11 Windows

    Default Re: Generic Component Framework

    I dont have Qt 4.3/MinGW on my computer. All of GCF was developed using the commercial edition of Qt 4.3 in my office. I will take a look at the MinGW issues this weekend and get back to you.

  6. #6
    Join Date
    Aug 2006
    Location
    Bangalore,India
    Posts
    419
    Thanks
    37
    Thanked 53 Times in 40 Posts
    Qt products
    Qt3 Qt4
    Platforms
    Unix/X11

    Default Re: Generic Component Framework

    Wow! You are using commercial software to develop open source software
    No offense please.
    Prashanth, your project is really awesome. I hope to learn and start using GCF soon
    The biggest difference between time and space is that you can't reuse time.
    -- Merrick Furst

Similar Threads

  1. KDE/QWT doubt on debian sarge
    By hildebrand in forum KDE Forum
    Replies: 13
    Last Post: 25th April 2007, 06:13

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
  •  
Digia, Qt and their respective logos are trademarks of Digia Plc in Finland and/or other countries worldwide.