Results 1 to 14 of 14

Thread: install sqlite

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Join Date
    Sep 2011
    Posts
    1,241
    Thanks
    3
    Thanked 127 Times in 126 Posts
    Qt products
    Qt4
    Platforms
    Windows

    Default Re: install sqlite

    re-type the lines with any char problems. use a plain text editor.

    and about UI::qtCalc? where and how it need to be refered?
    use #include
    If you have a problem, CUT and PASTE your code. Do not retype or simplify it. Give a COMPLETE and COMPILABLE example of your problem. Otherwise we are all guessing the problem from a fabrication where relevant details are often missing.

  2. The following user says thank you to amleto for this useful post:

    marquessbr (14th November 2012)

  3. #2
    Join Date
    Nov 2012
    Posts
    7
    Thanks
    2
    Qt products
    Qt4
    Platforms
    Unix/X11

    Default Re: install sqlite

    ok, amlto, thank you!

    Im redited my sources and now is ok, but returned this error, as the output of the terminal:

    -------------------------------------------------------------------------------------------------
    armando@odin-lap:~/projects/qt/calc$ make
    g++ -c -m64 -pipe -O2 -Wall -W -D_REENTRANT -DQT_WEBKIT -DQT_NO_DEBUG -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++-64 -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4 -I. -I. -I. -o main.o main.cpp
    main.cpp:2:20: erro fatal: qtCalc.h: Arquivo ou diretório não encontrado
    compilação terminada.
    make: ** [main.o] Erro 1
    armando@odin-lap:~/projects/qt/calc$
    -------------------------------------------------------------------------------------------------

    but why? if I had refered to qtCalc.h in the main.cpp file here is the code:

    #include <QApplication>
    #include "qtCalc.h"

    int*main(int*argc,*char *argv[])
    {
    QApplication*app(argc,*argv);
    Calc**dialog*=*new*Calc();
    dialog*>show();
    return*app.exec();
    }

    I need help

    peace!

  4. #3
    Join Date
    Sep 2011
    Posts
    1,241
    Thanks
    3
    Thanked 127 Times in 126 Posts
    Qt products
    Qt4
    Platforms
    Windows

    Default Re: install sqlite

    what is up with your code pasting??

    did you actually try and compile this?
    Qt Code:
    1. #include <QApplication>
    2. #include "qtCalc.h"
    3.  
    4. int*main(int*argc,*char *argv[])
    5. {
    6. QApplication*app(argc,*argv);
    7. Calc**dialog*=*new*Calc();
    8. dialog*>show();
    9. return*app.exec();
    10. }
    To copy to clipboard, switch view to plain text mode 
    what's with all of the '*'??


    qtCalc.h: Arquivo ou diretório não encontrado - pretty obvious, nes pas? (yes, I know different language)
    If you have a problem, CUT and PASTE your code. Do not retype or simplify it. Give a COMPLETE and COMPILABLE example of your problem. Otherwise we are all guessing the problem from a fabrication where relevant details are often missing.

  5. The following user says thank you to amleto for this useful post:

    marquessbr (15th November 2012)

  6. #4
    Join Date
    Nov 2012
    Posts
    7
    Thanks
    2
    Qt products
    Qt4
    Platforms
    Unix/X11

    Default Re: install sqlite

    Hi, amleto!

    I tried other examples and they worked very well with that given to know a little more about how the compiler and also a little on the QT interface.

    So thanks for all at now!

    I say this because, like I said, I program in other languages, (pascal, python, php, json) and had litle contact with C/C++/QT, but I need to maintain this post unclosed, because the real reason for this post is because I had a idea to a project with will be more complex than its examples, for developer this project I will need to use one database and the sqlite/salite3 is perfect for me, because its amalgamation whose source is write in C.

    so, at the right time I'll have to go deeper into the matter and if I have a question I ask for help here in the forum!

    thank's

    peace!

Similar Threads

  1. Replies: 0
    Last Post: 17th November 2011, 13:35
  2. Replies: 6
    Last Post: 13th March 2011, 23:49
  3. [Qt][SQLite] Two problems with SQLite.
    By Xandareva in forum Newbie
    Replies: 6
    Last Post: 6th April 2010, 23:06
  4. How install fonts with make install
    By jiveaxe in forum Qt Programming
    Replies: 1
    Last Post: 2nd January 2008, 19:38
  5. "make install" doesn't install binary
    By jiveaxe in forum Newbie
    Replies: 2
    Last Post: 2nd January 2008, 12:00

Tags for this Thread

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.