Jump to content

ppcrulez

Members
  • Posts

    27
  • Joined

  • Last visited

Posts posted by ppcrulez

  1. Thank you, I did as you suggested. I got the following error message:

    Running build steps for project HelloQt...
    Creating gdb macros library...
    No valid Qt version set. Set one in Tools/Options 
    Error while building project HelloQt
    When executing build step 'QMake'
    Canceled build.

     

    Under Tools -> Options -> Qt4, I see that the path of the auto-detected Qt version is "<not found>". I have some Qt packages installed on my machine, but I don't know which one I need or where it is located.

     

    Actually you're just missing the qt developer files, since qt creator is using QMake. They are available in Mandriva repos, install libqt4-devel either from Mandriva Control Center or with

     

    urpmi libqt4-devel

     

    If you use Mandriva 2009.0 and have an updated system you will get the latest qt v4.5 (not that it really matters).

     

    I 'm not sure if starting Qt Creator after that will autodetect the paths, but if it doesn't. Press the + sign in the Tools -> Options -> Qt4 menu and add /usr/lib/qt4 as path (or browse to that folder). Now you should be able to compile :D

     

    (Also you must enter a Version name for the path. Just enter qt4 if it's not added automatically)

  2. Are you sure? I'll be glad to know how, because I liked Qt-Creator.

     

    After Clicking File -> New... Under Projects I choose "C++ library" (No option for C). Next screen I choose "Shared library", and in the next screen I am required to type in Class name (Field cannot be left blank). Plus it only creates files with cpp or h extensions. So I'll be really glad to hear what I'm doing wrong and how I can create a stand-alone program in C (not a library, a simple Hello World program. From there I'll manage).

     

    Well, I've actually not used Qt-creator that much since I'm used to Eclipse. But I did a small test.

     

    If you choose File->New and under projects choose "Qt4 Console Application", click Next and then choose a project path and name. Click Next again and untick all selections on the next screen.

     

    You now have an almost empty project, with this code in main.cpp:

     

    #include <QtCore/QCoreApplication>

     

    int main(int argc, char *argv[])

    {

    QCoreApplication a(argc, argv);

     

    return a.exec();

    }

     

    If you don't intend to use any Qt stuff delete everything and create a new main. Sure the file is called main.cpp but it will compile c code. You can edit the .pro file and add your own sourcefiles with the .c extensions.

  3. In the meanwhile I found in Qt-Creator's website FAQ section that it supports C++ only. Which is really a shame, because it makes a good first impression. With Nokia's support, I hope they will develop extensions to other languages.

     

    Thanks!

     

    But it will compile C code just as Eclipse does. Eclipse handles C code nicely.

  4. I use Eclipse at work, for daily Qt C/C++ development, and it works really well. But I had huge problems with C/C++ development using the Eclipse package in Mandriva repros.

     

    But I downloaded the latest version from www.eclipse.org (I also downloaded the Qt eclipse integration from trolltech) and after that everything works perfectly.

     

    You could also try Nokia/Trolltechs Qt Creator which I've just done some breif testing with but it seems quite good. Simple, but easy to use.

     

    http://www.qtsoftware.com/products/appdev/...developer-tools

  5. I've gotten the new Hotmail version to work under Linux with Firefox v 3.03. It seems like Microsoft is actively shutting out Linux users. If you use the usersagent string for Firefox v3.03 with Windows in the Linux version everything works.

     

    Hotmail works with this user agent string:

     

    Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.0.3) Gecko/2008092417 Firefox/3.0.3

     

    Hmm.. why doesn't Microsoft like Linux users? ;-)

  6. I don't know if the BIOS would give you any options for the Power Button, but look at Configure KPowersave > General Settings > Button Events and chose nothing for power button. This works on my laptop anyway. However even if the Power Button button event is set to do nothing, if you hold the Power Button down long enough (5 -10 seconds) you get a hard shutdown.

     

    Thanks! I can't believe I missed that option :D So far my kid doesn't hold the power button pressed so this isn't a problem, and it also good to be able to turn off the power with the 5-10s button hold, if the computer would freeze.

  7. Well, I have a Acer Ferrari 3400, a modell that is a few years old (It's an AMD Mobile Athlon 64 with 512MB RAM, bluetooth, WLAN etc). It was top specs when I got it several years ago and it still works very well. Mandriva works perfectly on it, everything works even bluetooth and WLAN. Th eonly thing that isn't so good about this one is the battery performance. But that might have improved on the new Ferrari versions from ACER.

  8. I use Vmware for this at work, and it works perfectly, and have done so for almost a year with heavy usage. I followed this guide:

     

    http://oopsilon.com/Running-a-Windows-Partition-in-VMware

     

    I actually use seamless remote dektop to my virtual windows machine and then run the Windows applications in windows on my Linux Desktop. A great way to access those must have special windows programs at work :-)

  9. Does anyone know how to merge two faces to create one new one with the gimp?

     

    Morphing can be achieved with GIMP and GAP (the GIMP Animation Package). I've done that a few times and it works nicely.

     

    urpmi gimp2-gap to install in Mandriva :-)

     

    Check out this tutorial:

     

    http://www.glitchseekers.com/forums/index.php?showtopic=3342

     

    It's not that hard and the end result is perfect if you put an effort in placing the points.

  10. Well for the user switching problem I don't have any solution, I've also had this problem in both 2007.1 and 2008.0.

     

    For sound you just have to add the users to the audio group, at least that's what I did, after that the audio works for multiple users.

  11. I bought Powerpack 2008.0 one day after release and I had excellent download speed. I have a 30Mbit/s connection and I got >2MB/s from the Mandriva server and I think that download speed is pretty good. But maybe I just had good luck.

     

    So far 2008.0 has been stable for me, not a single problem so far. The system was up and running within 30min and within that time I had installed 2008.0 and also reinstalled the packages that I want like Opera (why isn't Opera installed by default), VLC.. etc.

     

    I have also installed 2008.0 Powerpack on my Acer Ferrari Laptop and I got 1 hour better battery time, which is excellent :-)

     

    One thing that I think is sad though is that Mandrivas releases gets very little attention in Sweden, while Ubuntu gets loads of articles from respectable news sources. IMHO Mandriva is just as good as Ubuntu (actually I think it's better thats why I use it as my main distrubution).

  12. Great news! I actually took out my creditcard and bought the PowerPack version (for €39 which is a quite nice price). It's the first time I've bought something from Mandriva. But the fact that I liked 2007.1 a lot, I figured why not support Mandriva. It downloaded really fast I had 2MB/s from the ftp... very nice :-)

     

    Well.. now it's time to install....

  13. I wanted to use the x264 codec to encode some DV-video I've shoot with my camera. Mencoder that is installable through the RPM manager doesn't seem to have been compiled with this option. I checked out MPlayer source from SVN

     

    I tried to compile MPlayer/MEncoder by hand. But I had som troubles when trying to compile it. I get the following error:

     

    libavcodec/libavcodec.a(utils.o): In function `avcodec_encode_video':

    utils.c:(.text+0x158c): undefined reference to `mm_flags'

    libavcodec/libavcodec.a(utils.o): In function `avcodec_decode_video':

    utils.c:(.text+0x1eea): undefined reference to `mm_flags'

    libavcodec/libavcodec.a(mpegvideo.o): In function `MPV_frame_end':

    mpegvideo.c:(.text+0x373): undefined reference to `mm_flags'

    libavcodec/libavcodec.a(mpegvideo.o): In function `dct_quantize_refine':

    mpegvideo.c:(.text+0x829e): undefined reference to `mm_flags'

    libavcodec/libavcodec.a(mpegvideo.o): In function `DCT_common_init':

    mpegvideo.c:(.text+0xb8de): undefined reference to `MPV_common_init_mmx'

    libavcodec/libavcodec.a(mpegvideo.o): In function `ff_draw_horiz_band':

    mpegvideo.c:(.text+0xca65): undefined reference to `mm_flags'

    libavcodec/libavcodec.a(mpegvideo.o): In function `encode_picture':

    mpegvideo.c:(.text+0xe5cf): undefined reference to `mm_flags'

    mpegvideo.c:(.text+0xed1f): undefined reference to `mm_flags'

    libavcodec/libavcodec.a(mpegvideo.o): In function `MPV_encode_picture':

    mpegvideo.c:(.text+0x1041f): undefined reference to `mm_flags'

    mpegvideo.c:(.text+0x10a97): undefined reference to `mm_flags'

    libavcodec/libavcodec.a(mpegvideo.o):mpegvideo.c:(.text+0x226d7): more undefined references to `mm_flags' follow

    libavcodec/libavcodec.a(dsputil.o): In function `dsputil_init':

    dsputil.c:(.text+0x189c0): undefined reference to `dsputil_init_mmx'

    libavcodec/libavcodec.a(mpeg12.o): In function `decode_frame':

    mpeg12.c:(.text+0x7cd6): undefined reference to `mm_flags'

    libavcodec/libavcodec.a(mpeg12.o): In function `mpeg_decode_frame':

    mpeg12.c:(.text+0xb6d0): undefined reference to `mm_flags'

    libavcodec/libavcodec.a(mpeg12.o): In function `slice_decode_thread':

    mpeg12.c:(.text+0xd43b): undefined reference to `mm_flags'

    libavcodec/libavcodec.a(ratecontrol.o): In function `ff_rate_control_uninit':

    ratecontrol.c:(.text+0x786): undefined reference to `mm_flags'

    libavcodec/libavcodec.a(ratecontrol.o): In function `ff_rate_control_init':

    ratecontrol.c:(.text+0x1384): undefined reference to `mm_flags'

    libavcodec/libavcodec.a(ratecontrol.o):ratecontrol.c:(.text+0x267c): more undefined references to `mm_flags' follow

    libavcodec/libavcodec.a(fft.o): In function `ff_fft_init':

    fft.c:(.text+0x3af): undefined reference to `mm_support'

    fft.c:(.text+0x4e9): undefined reference to `ff_imdct_calc_3dn2'

    fft.c:(.text+0x4f0): undefined reference to `ff_fft_calc_3dn2'

    fft.c:(.text+0x546): undefined reference to `ff_imdct_calc_sse'

    fft.c:(.text+0x54d): undefined reference to `ff_fft_calc_sse'

    fft.c:(.text+0x55d): undefined reference to `ff_fft_calc_3dn'

    libavcodec/libavcodec.a(cljr.o): In function `decode_frame':

    cljr.c:(.text+0x264): undefined reference to `mm_flags'

    libavcodec/libavcodec.a(dv.o): In function `dvvideo_decode_frame':

    dv.c:(.text+0x3224): undefined reference to `mm_flags'

    libavcodec/libavcodec.a(dv.o): In function `dvvideo_encode_frame':

    dv.c:(.text+0x433b): undefined reference to `mm_flags'

    libavcodec/libavcodec.a(ffv1.o): In function `decode_frame':

    ffv1.c:(.text+0x220e): undefined reference to `mm_flags'

    libavcodec/libavcodec.a(ffv1.o): In function `encode_frame':

    ffv1.c:(.text+0x671c): undefined reference to `mm_flags'

    libavcodec/libavcodec.a(huffyuv.o):huffyuv.c:(.text+0x3b46): more undefined references to `mm_flags' follow

    collect2: ld returned 1 exit status

    make: *** [mplayer] Error 1

     

    Anyone who can help with this? Configure went fine and it Identified my CPU correctly.

     

    Or is there some other way to encode with x264?

  14. You mean that you didn't have to call someone in a northwestern US city and ask for permission to change your hardware? :huh:

     

    Hehe.. one more reason not to use Microsoft stuff. I've always had blue screen when I've tried changing motherboard using XP, so with Windows a complete reinstall with new activation and several hours work had been the only solution. The conclusion to this must be that Linux saves time and money.

     

    This should definately be an advertising point for Linux :D

  15. I had a motherboard failure on my old server (Duron@750MHz with 3 harddrives) which was running Mandrakelinux 10.1. Luckily I had a Celeron 1.7GHz machine collecting dust in a corner.

     

    My first thought was to reinstall Mandrake 10.1 (or maybe upgrade to 2007.1 which I run on my desktop) and then transfer the important directories, but then I thought I'll try putting in the harddrives in the "new" machine.

     

    The "new" motherboard has built-in graphics but I took the Radeon 7000 gfx card from the dead machine and put it in the new one (just to get the same gfx-card). The new motherboard also has built-in ethernet.

     

    I turned on the computer the system booted without any problems whatsoever, it even connected to the network through the onboard ethernet with the correct settings.

     

    I am absolutely amazed of the fact that I didn't have to change a single setting, despite changing motherboard (from VIA/AMD to SIS/Intel). My initial worries that this would be a 5-6h job turned out to be a 15min job, with just ripping out the harddrives and the gfx-card.

     

    I just wanted to praise Mandriva/Mandrake for this :thumbs:

     

     

    [moved from Installing Mandriva by spinynorman]

  16. the keyboard repeats the first entered char by itself in an endless loop...

     

    I once had this happen. It stopped when I moved my elbow. ;)

     

    I didn't think of that, such a simple solution :D

     

    Your xorg does not show any strange option enabled for the keyboard, ban the "itouchin" option.

    Does the problem go away (together with some functionality, probably...) if you change that

    Option "XkbModel" "itouchin"

    to

    #Option "XkbModel" "itouchin"

     

    If it does, then it's either an xorg, or Mandriva compilation bug.

     

    I will try that...I tried it and sadly that didn't fix the problem

     

    BTW, until we figure out what's causing this, other people experiencing it are using this as a workaround - just switch to a console and then back to X. That seems to fix it with no need to restart X.

     

    Ok, so this is a known bug then?

  17. I have an irritating problem, whenever I start my computer and tries to login in KDE, when I try to enter the password for my user the keyboard repeats the first entered char by itself in an endless loop. I have to restart the X server to be able to login. Restarting the x server helps everytime and it always works after one restart of the x server.

     

    If I have a user without password the keyboard repeats the first char entered when logged in and I have to start a new session to be able to use the keyboard.

     

    If tried changing the keyboard settings and tried different keyboard layouts / keyboard from generic to the actual Logitech ITouch Internet Navigator. I've tried using the USB->PS/2 adapter and tried with USB but without any differnce.

     

    I've tried everything I can think of but without any success so far, any help would be appreciated.

     

    I'm using Mandriva 2007.1 (I had the same problem with 2007.0 though after a few months). I have an Asus AM2 motherboard with AMD Athlon X2 CPU.

  18. This happened to me as well, I went to Opera's forum and there people who had the exact same problems with Ubuntu and Debian.

     

    http://my.opera.com/community/forums/topic.dml?id=183923

     

    They had found the reason to be the new security updated libx11-6. I reinstalled the old rpm packages and now it works again, although without the security patches.

     

    This doesn't seem to be a Mandriva error since more distrobutions are affected.

     

    Did the usual system update last night on Mandriva 2007. This morning, after bringing up the system again, Opera won't load. First time this has ever happened with any Mandriva release. Any ideas?
  19. Jahshaka is another possibility

     

    Here is what I read on another forum, so worth a try but with

    not too high expectations

     

    Thanks for that suggestion, it looks pretty good, I'll have to try it tonight. Looks promising

×
×
  • Create New...